mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 18:25:13 +00:00
SFTP: assertEquals -> assertSame
This commit is contained in:
parent
0e2b2a416b
commit
c8343e77c7
@ -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.'
|
||||||
|
Loading…
Reference in New Issue
Block a user