Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/Unit/CacheWrapperTest.php1
-rw-r--r--tests/Unit/StorageWrapperTest.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/Unit/CacheWrapperTest.php b/tests/Unit/CacheWrapperTest.php
index b7b7a6f..e23e3f1 100644
--- a/tests/Unit/CacheWrapperTest.php
+++ b/tests/Unit/CacheWrapperTest.php
@@ -42,6 +42,7 @@ class CacheWrapperTest extends TestCase
$this->cache = $this->getMockBuilder('OCP\Files\Cache\ICache')
->getMock();
$this->storage = $this->getMockBuilder('OCP\Files\Storage\IStorage')
+ ->setConstructorArgs([array()])
->getMock();
$this->monitor = $this->getMockBuilder('OCA\RansomwareDetection\Monitor')
->disableOriginalConstructor()
diff --git a/tests/Unit/StorageWrapperTest.php b/tests/Unit/StorageWrapperTest.php
index 24d1833..b3b2f23 100644
--- a/tests/Unit/StorageWrapperTest.php
+++ b/tests/Unit/StorageWrapperTest.php
@@ -37,6 +37,7 @@ class StorageWrapperTest extends TestCase
parent::setUp();
$this->storage = $this->getMockBuilder('OCP\Files\Storage\IStorage')
+ ->setConstructorArgs([array()])
->getMock();
$this->monitor = $this->getMockBuilder('OCA\RansomwareDetection\Monitor')