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:
authorMatthias <ilovemilk@wusa.io>2020-03-28 13:12:44 +0300
committerMatthias <ilovemilk@wusa.io>2020-03-28 13:12:44 +0300
commit8a046c3cd70b0c0f376e7c5cd20b6e290f56592d (patch)
tree8b5d3142137e5bc6f322c4bfbb65234491aa2306
parentaa3852eccf2bdbd78f4289fed0474b60ea5dd9ba (diff)
add constructor arguments
-rw-r--r--tests/Unit/AppInfo/ApplicationTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Unit/AppInfo/ApplicationTest.php b/tests/Unit/AppInfo/ApplicationTest.php
index 04341cb..07c492e 100644
--- a/tests/Unit/AppInfo/ApplicationTest.php
+++ b/tests/Unit/AppInfo/ApplicationTest.php
@@ -68,7 +68,9 @@ class ApplicationTest extends TestCase
public function testAddStorageWrapperCallback()
{
- $storage = $this->getMockBuilder('OCP\Files\Storage\IStorage')->getMock();
+ $storage = $this->getMockBuilder('OCP\Files\Storage\IStorage')
+ ->setConstructorArgs([array()]);
+ ->getMock();
$result = $this->application->addStorageWrapperCallback('mountPoint', $storage);
// Request from CLI, so $results is instanceof IStorage and not StorageWrapper