From 38d4f122cf013a61f1c7c072ade58f17fef36797 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 31 Mar 2020 19:16:18 +0200 Subject: remove storage wrapper test --- tests/Unit/AppInfo/ApplicationTest.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tests') 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); - } } -- cgit v1.2.3