summaryrefslogtreecommitdiffstats
path: root/tests/lib/Support/Subscription/RegistryTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Support/Subscription/RegistryTest.php')
-rw-r--r--tests/lib/Support/Subscription/RegistryTest.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/lib/Support/Subscription/RegistryTest.php b/tests/lib/Support/Subscription/RegistryTest.php
index 5349b041d8b..260232ac95d 100644
--- a/tests/lib/Support/Subscription/RegistryTest.php
+++ b/tests/lib/Support/Subscription/RegistryTest.php
@@ -75,8 +75,7 @@ class RegistryTest extends TestCase {
$this->serverContainer,
$this->userManager,
$this->groupManager,
- $this->logger,
- $this->notificationManager
+ $this->logger
);
}
@@ -177,7 +176,7 @@ class RegistryTest extends TestCase {
->method('get')
->willReturn($dummyGroup);
- $this->assertSame(true, $this->registry->delegateIsHardUserLimitReached());
+ $this->assertSame(true, $this->registry->delegateIsHardUserLimitReached($this->notificationManager));
}
public function testDelegateIsHardUserLimitReachedWithoutSupportApp() {
@@ -186,7 +185,7 @@ class RegistryTest extends TestCase {
->with('one-click-instance')
->willReturn(false);
- $this->assertSame(false, $this->registry->delegateIsHardUserLimitReached());
+ $this->assertSame(false, $this->registry->delegateIsHardUserLimitReached($this->notificationManager));
}
public function dataForUserLimitCheck() {
@@ -237,6 +236,6 @@ class RegistryTest extends TestCase {
->willReturn($dummyGroup);
}
- $this->assertSame($expectedResult, $this->registry->delegateIsHardUserLimitReached());
+ $this->assertSame($expectedResult, $this->registry->delegateIsHardUserLimitReached($this->notificationManager));
}
}