diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-28 14:28:42 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-28 14:28:42 +0300 |
commit | 1d8a11661c2cea420588cbf1c46290a11ecd8e29 (patch) | |
tree | a4eb298e925f10c88faa2c1b86dccd6e8b5e5d02 /tests | |
parent | 6bb63d2976d18fa03693dee8f77d59afe136581b (diff) |
Remove dead code
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/AppInfo/AppTest.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/AppInfo/AppTest.php b/tests/AppInfo/AppTest.php index a555afb..35f2b9a 100644 --- a/tests/AppInfo/AppTest.php +++ b/tests/AppInfo/AppTest.php @@ -36,8 +36,6 @@ class AppTest extends TestCase { protected $languageFactory; /** @var \OCP\Notification\IManager|\PHPUnit_Framework_MockObject_MockObject */ protected $notificationManager; - /** @var \OCP\Activity\IManager|\PHPUnit_Framework_MockObject_MockObject */ - protected $activityManager; protected function setUp() { parent::setUp(); @@ -48,9 +46,6 @@ class AppTest extends TestCase { $this->notificationManager = $this->getMockBuilder('OCP\Notification\IManager') ->disableOriginalConstructor() ->getMock(); - $this->activityManager = $this->getMockBuilder('OCP\Activity\IManager') - ->disableOriginalConstructor() - ->getMock(); $this->language = $this->getMockBuilder('OCP\IL10N') ->disableOriginalConstructor() ->getMock(); @@ -61,13 +56,11 @@ class AppTest extends TestCase { }); $this->overwriteService('NotificationManager', $this->notificationManager); - $this->overwriteService('ActivityManager', $this->activityManager); $this->overwriteService('L10NFactory', $this->languageFactory); } protected function tearDown() { $this->restoreService('NotificationManager'); - $this->restoreService('ActivityManager'); $this->restoreService('L10NFactory'); parent::tearDown(); |