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
path: root/tests
diff options
context:
space:
mode:
authorMatthias <ilovemilk@wusa.io>2020-03-31 20:16:18 +0300
committerMatthias <ilovemilk@wusa.io>2020-03-31 20:16:18 +0300
commit38d4f122cf013a61f1c7c072ade58f17fef36797 (patch)
tree7768aba0109e9543306a51545c03bccb9f1fdede /tests
parent017faddef4f8d716bf4733e9463678ce027aa100 (diff)
remove storage wrapper test
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/AppInfo/ApplicationTest.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/Unit/AppInfo/ApplicationTest.php b/tests/Unit/AppInfo/ApplicationTest.php
index f838b7f..5f646ca 100644
--- a/tests/Unit/AppInfo/ApplicationTest.php
+++ b/tests/Unit/AppInfo/ApplicationTest.php
@@ -65,15 +65,4 @@ class ApplicationTest extends TestCase
{
$this->assertTrue($this->container->query($service) instanceof $expected);
}
-
- public function testAddStorageWrapperCallback()
- {
- $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
- $this->assertTrue($result instanceof IStorage);
- }
}