diff options
Diffstat (limited to 'apps/theming/tests/CapabilitiesTest.php')
-rw-r--r-- | apps/theming/tests/CapabilitiesTest.php | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/apps/theming/tests/CapabilitiesTest.php b/apps/theming/tests/CapabilitiesTest.php index 218fca505ed..d63092d4ae7 100644 --- a/apps/theming/tests/CapabilitiesTest.php +++ b/apps/theming/tests/CapabilitiesTest.php @@ -22,17 +22,8 @@ namespace OCA\Theming\Tests; use OCA\Theming\Capabilities; -use OCA\Theming\Controller\ThemingController; -use OCA\Theming\Settings\Admin; -use OCA\Theming\Settings\Section; use OCA\Theming\ThemingDefaults; -use OCA\Theming\Util; -use OCP\AppFramework\App; -use OCP\Capabilities\ICapability; -use OCP\IL10N; use OCP\IURLGenerator; -use OCP\Settings\ISection; -use OCP\Settings\ISettings; use Test\TestCase; /** @@ -54,10 +45,10 @@ class CapabilitiesTest extends TestCase { protected function setUp() { parent::setUp(); - $this->theming = $this->getMockBuilder(ThemingDefaults::class) + $this->theming = $this->getMockBuilder('OCA\Theming\ThemingDefaults') ->disableOriginalConstructor() ->getMock(); - $this->url = $this->getMockBuilder(IURLGenerator::class) + $this->url = $this->getMockBuilder('OCP\IURLGenerator') ->getMock(); $this->capabilities = new Capabilities($this->theming, $this->url); |