diff options
Diffstat (limited to 'apps/updatenotification/tests/Settings/AdminTest.php')
-rw-r--r-- | apps/updatenotification/tests/Settings/AdminTest.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/updatenotification/tests/Settings/AdminTest.php b/apps/updatenotification/tests/Settings/AdminTest.php index 3eaeb592224..9d40cb4d292 100644 --- a/apps/updatenotification/tests/Settings/AdminTest.php +++ b/apps/updatenotification/tests/Settings/AdminTest.php @@ -39,8 +39,6 @@ use OCP\Util; use Test\TestCase; class AdminTest extends TestCase { - /** @var IUserSession|\PHPUnit_Framework_MockObject_MockObject */ - protected $userSession; /** @var IFactory|\PHPUnit_Framework_MockObject_MockObject */ protected $l10nFactory; /** @var Admin */ @@ -61,11 +59,10 @@ class AdminTest extends TestCase { $this->updateChecker = $this->createMock(UpdateChecker::class); $this->groupManager = $this->createMock(IGroupManager::class); $this->dateTimeFormatter = $this->createMock(IDateTimeFormatter::class); - $this->userSession = $this->createMock(IUserSession::class); $this->l10nFactory = $this->createMock(IFactory::class); $this->admin = new Admin( - $this->config, $this->updateChecker, $this->groupManager, $this->dateTimeFormatter, $this->userSession, $this->l10nFactory + $this->config, $this->updateChecker, $this->groupManager, $this->dateTimeFormatter, $this->l10nFactory ); } |