mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
fix dir for non existing folders
This commit is contained in:
parent
69e9082def
commit
c91c970a8a
2 changed files with 12 additions and 2 deletions
|
|
@ -255,4 +255,11 @@ class Share extends \PHPUnit_Framework_TestCase {
|
|||
$this->share->rmdir($this->root . '/foobar');
|
||||
$this->share->del($this->root . '/foobar');
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException \SMB\NotFoundException
|
||||
*/
|
||||
public function testDirNonExisting() {
|
||||
$this->share->dir('/foobar/asd');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue