mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-26 00:28:27 +00:00
SFTP Functional tests: Make use of assertNotSame
This commit is contained in:
parent
8a43f02ae9
commit
5afc865775
@ -129,12 +129,10 @@ class Net_SFTPFunctionalTest extends PhpseclibFunctionalTestCase
|
||||
*/
|
||||
public function testStatOnDir($sftp)
|
||||
{
|
||||
$stat = $sftp->stat('.');
|
||||
|
||||
$this->assertThat(
|
||||
$stat,
|
||||
$this->logicalNot($this->equalTo(array())),
|
||||
'Failed asserting that the cwd has a non-empty stat'
|
||||
$this->assertNotSame(
|
||||
array(),
|
||||
$sftp->stat('.'),
|
||||
'Failed asserting that the cwd has a non-empty stat.'
|
||||
);
|
||||
|
||||
return $sftp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user