Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
additional tests
Browse files Browse the repository at this point in the history
edno committed Jul 3, 2016
1 parent 9876611 commit 9b8af94
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/functional/SecureShellExceptionCest.php
Original file line number Diff line number Diff line change
@@ -28,6 +28,20 @@ public function openConnectionAuthTypeError(FunctionalTester $I)
});
}

/**
* @env nochecking
*/
public function openConnectionAuthError(FunctionalTester $I)
{
$I->expectException(ModuleException::class, function () use ($I) {
$I->openConnection('localhost',
32768,
SecureShell::AUTH_PASSWORD,
'root',
'invalid');
});
}

/**
* @env nochecking
*/

0 comments on commit 9b8af94

Please sign in to comment.