SFTP: assertEquals -> assertSame

This commit is contained in:
terrafrost 2014-06-09 09:42:07 -05:00
parent 0e2b2a416b
commit c8343e77c7

View File

@ -280,7 +280,7 @@ class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase
$list = $sftp->nlist(); $list = $sftp->nlist();
$expected = array('.', '..', 'temp', 'file3.txt', 'file2.txt', 'file1.txt'); $expected = array('.', '..', 'temp', 'file3.txt', 'file2.txt', 'file1.txt');
$this->assertEquals( $this->assertSame(
$list, $list,
$expected, $expected,
'Failed asserting that list sorted correctly.' 'Failed asserting that list sorted correctly.'
@ -291,7 +291,7 @@ class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase
$list = $sftp->nlist(); $list = $sftp->nlist();
$expected = array('.', '..', 'temp', 'file1.txt', 'file2.txt', 'file3.txt'); $expected = array('.', '..', 'temp', 'file1.txt', 'file2.txt', 'file3.txt');
$this->assertEquals( $this->assertSame(
$list, $list,
$expected, $expected,
'Failed asserting that list sorted correctly.' 'Failed asserting that list sorted correctly.'