mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +00:00
Rebased
This commit is contained in:
parent
dfb8d52806
commit
c1f647c77d
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user