mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-11 16:49:42 +01:00
Rebased
This commit is contained in:
parent
dfb8d52806
commit
c1f647c77d
@ -7,6 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
use phpseclib\Net\SSH2;
|
use phpseclib\Net\SSH2;
|
||||||
|
use phpseclib\System\SSH\Agent;
|
||||||
|
|
||||||
class Functional_Net_SSH2AgentTest extends PhpseclibFunctionalTestCase
|
class Functional_Net_SSH2AgentTest extends PhpseclibFunctionalTestCase
|
||||||
{
|
{
|
||||||
@ -23,7 +24,7 @@ class Functional_Net_SSH2AgentTest extends PhpseclibFunctionalTestCase
|
|||||||
public function testAgentLogin()
|
public function testAgentLogin()
|
||||||
{
|
{
|
||||||
$ssh = new SSH2($this->getEnv('SSH_HOSTNAME'));
|
$ssh = new SSH2($this->getEnv('SSH_HOSTNAME'));
|
||||||
$agent = new System_SSH_Agent;
|
$agent = new Agent;
|
||||||
|
|
||||||
$this->assertTrue(
|
$this->assertTrue(
|
||||||
$ssh->login($this->getEnv('SSH_USERNAME'), $agent),
|
$ssh->login($this->getEnv('SSH_USERNAME'), $agent),
|
||||||
|
Loading…
Reference in New Issue
Block a user