1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 09:38:06 +01:00

Tests/SSH2: CS adjustment

This commit is contained in:
terrafrost 2023-03-05 04:19:20 -06:00
parent 7ce104b12c
commit 8339322eb9

View File

@ -6,6 +6,8 @@
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*/
use phpseclib\Net\SSH2;
class Unit_Net_SSH2UnitTest extends PhpseclibTestCase
{
public function formatLogDataProvider()
@ -112,7 +114,7 @@ class Unit_Net_SSH2UnitTest extends PhpseclibTestCase
public function testGetTimeout()
{
$ssh = new Net_SSH2('localhost');
$ssh = new SSH2('localhost');
$this->assertEquals(10, $ssh->getTimeout());
$ssh->setTimeout(0);
$this->assertEquals(0, $ssh->getTimeout());