mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-09-20 03:29:02 +00:00
Correct unit test failures
This commit is contained in:
parent
89e07e811a
commit
c9eb03423f
@ -575,7 +575,7 @@ class SSH2Test extends PhpseclibFunctionalTestCase
|
||||
$this->assertSame(0, $ssh->getOpenChannelCount());
|
||||
}
|
||||
|
||||
public function testKeepAlive(): void
|
||||
public function testKeepAlive()
|
||||
{
|
||||
$ssh = $this->getSSH2();
|
||||
$username = $this->getEnv('SSH_USERNAME');
|
||||
|
@ -221,7 +221,10 @@ class SSH2UnitTest extends PhpseclibTestCase
|
||||
$this->assertEquals(20, $ssh->getTimeout());
|
||||
}
|
||||
|
||||
public function testGetStreamTimeout(): void
|
||||
/**
|
||||
* @requires PHPUnit < 10
|
||||
*/
|
||||
public function testGetStreamTimeout()
|
||||
{
|
||||
// no curTimeout, no keepAlive
|
||||
$ssh = $this->createSSHMock();
|
||||
|
Loading…
Reference in New Issue
Block a user