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:
Diffstat (limited to 'tests/Unit/StorageWrapperTest.php')
-rw-r--r--tests/Unit/StorageWrapperTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Unit/StorageWrapperTest.php b/tests/Unit/StorageWrapperTest.php
index e45acf2..b3b2f23 100644
--- a/tests/Unit/StorageWrapperTest.php
+++ b/tests/Unit/StorageWrapperTest.php
@@ -32,11 +32,12 @@ class StorageWrapperTest extends TestCase
/** @var \OCA\RansomwareDetection\Monitor|\PHPUnit_Framework_MockObject_MockObject */
protected $monitor;
- protected function setUp()
+ protected function setUp(): void
{
parent::setUp();
$this->storage = $this->getMockBuilder('OCP\Files\Storage\IStorage')
+ ->setConstructorArgs([array()])
->getMock();
$this->monitor = $this->getMockBuilder('OCA\RansomwareDetection\Monitor')