diff options
author | Matthias <ilovemilk@wusa.io> | 2020-03-28 13:12:44 +0300 |
---|---|---|
committer | Matthias <ilovemilk@wusa.io> | 2020-03-28 13:12:44 +0300 |
commit | 8a046c3cd70b0c0f376e7c5cd20b6e290f56592d (patch) | |
tree | 8b5d3142137e5bc6f322c4bfbb65234491aa2306 | |
parent | aa3852eccf2bdbd78f4289fed0474b60ea5dd9ba (diff) |
add constructor arguments
-rw-r--r-- | tests/Unit/AppInfo/ApplicationTest.php | 4 |
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 |