mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-09-07 14:21:49 +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…
Reference in New Issue
Block a user