mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
test fixes
This commit is contained in:
parent
d642bd4b04
commit
824593c5ac
6 changed files with 27 additions and 23 deletions
|
|
@ -12,7 +12,7 @@ use Icewind\SMB\Exception\AlreadyExistsException;
|
|||
use Icewind\SMB\Exception\Exception;
|
||||
use Icewind\SMB\Exception\RevisionMismatchException;
|
||||
use Icewind\SMB\INotifyHandler;
|
||||
use Icewind\SMB\IShare;
|
||||
use Icewind\SMB\ISystem;
|
||||
use Icewind\SMB\Options;
|
||||
use Icewind\SMB\System;
|
||||
use Icewind\SMB\TimeZoneProvider;
|
||||
|
|
@ -199,8 +199,7 @@ class NotifyHandlerTest extends TestCase {
|
|||
public function testNoStdBuf(): void {
|
||||
$this->requireBackendEnv('smbclient');
|
||||
$this->config = json_decode(file_get_contents(__DIR__ . '/config.json'));
|
||||
$system = $this->getMockBuilder(System::class)
|
||||
->onlyMethods(['getStdBufPath'])
|
||||
$system = $this->getMockBuilder(ISystem::class)
|
||||
->getMock();
|
||||
$system->method('getStdBufPath')
|
||||
->willReturn(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue