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