diff options
author | Matthias <ilovemilk@wusa.io> | 2020-09-20 16:04:54 +0300 |
---|---|---|
committer | Matthias <ilovemilk@wusa.io> | 2020-09-20 16:04:54 +0300 |
commit | 49ca86f3445847cc6bfd28657ab4298dcc711fb8 (patch) | |
tree | 2b7c99ffe94d8f9cc82d52a05ead1a0663d413db /tests | |
parent | e41964cd66fd4de0688a8a334362f90f671992b8 (diff) |
fix tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Service/FileOperationServiceTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Unit/Service/FileOperationServiceTest.php b/tests/Unit/Service/FileOperationServiceTest.php index c72be2b..3496510 100644 --- a/tests/Unit/Service/FileOperationServiceTest.php +++ b/tests/Unit/Service/FileOperationServiceTest.php @@ -43,6 +43,8 @@ class FileOperationServiceTest extends MapperTestUtility parent::setUp(); $this->mapper = new FileOperationMapper($this->db); + $connection = $this->getMockBuilder('OCP\IDBConnection') + ->getMock(); $recoveredMapper = $this->getMockBuilder('OCA\RansomwareDetection\Db\RecoveredFileOperationMapper') ->setConstructorArgs([$connection]) ->getMock(); |