This commit is contained in:
Clint Nelissen 2014-12-15 14:33:25 -08:00
parent dfb8d52806
commit c1f647c77d

View File

@ -7,6 +7,7 @@
*/
use phpseclib\Net\SSH2;
use phpseclib\System\SSH\Agent;
class Functional_Net_SSH2AgentTest extends PhpseclibFunctionalTestCase
{
@ -23,7 +24,7 @@ class Functional_Net_SSH2AgentTest extends PhpseclibFunctionalTestCase
public function testAgentLogin()
{
$ssh = new SSH2($this->getEnv('SSH_HOSTNAME'));
$agent = new System_SSH_Agent;
$agent = new Agent;
$this->assertTrue(
$ssh->login($this->getEnv('SSH_USERNAME'), $agent),