extend tests a bit

This commit is contained in:
Robin Appelman 2021-03-10 14:53:02 +01:00
commit d218982775
4 changed files with 50 additions and 13 deletions

View file

@ -42,7 +42,7 @@ class ServerFactoryTest extends TestCase {
public function testSmbClient() {
$this->requireBackendEnv('smbclient');
$system = $this->getMockBuilder(System::class)
->setMethods(['libSmbclientAvailable'])
->onlyMethods(['libSmbclientAvailable'])
->getMock();
$system->expects($this->any())
->method('libSmbclientAvailable')