diff options
author | Matthias <ilovemilk@wusa.io> | 2020-09-20 14:54:00 +0300 |
---|---|---|
committer | Matthias <ilovemilk@wusa.io> | 2020-09-20 14:54:00 +0300 |
commit | e17297d7f80068b036700e9a35072d0aa6f09423 (patch) | |
tree | 91d58359a42fdcef9353bffdedef2eb6d89790a7 | |
parent | b100777fc3aaf374cf031824c74eddffc1d504c7 (diff) |
fix tests
-rw-r--r-- | tests/Unit/Controller/FileOperationControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/Controller/FileOperationControllerTest.php b/tests/Unit/Controller/FileOperationControllerTest.php index c1b5106..8f688e3 100644 --- a/tests/Unit/Controller/FileOperationControllerTest.php +++ b/tests/Unit/Controller/FileOperationControllerTest.php @@ -84,7 +84,7 @@ class FileOperationControllerTest extends TestCase ->setConstructorArgs([$connection]) ->getMock(); $this->service = $this->getMockBuilder('OCA\RansomwareDetection\Service\FileOperationService') - ->setConstructorArgs([$mapper, $recovered, $this->userId]) + ->setConstructorArgs([$mapper, $recoveredMapper, $this->userId]) ->getMock(); $this->classifier = $this->getMockBuilder('OCA\RansomwareDetection\Classifier') ->setConstructorArgs([$this->logger, $mapper, $this->service]) |