diff options
author | Joas Schilling <coding@schilljs.com> | 2022-08-31 20:54:39 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-08-31 20:54:39 +0200 |
commit | 67ecd729727965ae3ac93b78ed9d8a9631b82d3e (patch) | |
tree | 097b810e2098f62655090617d01b08b6b79cff10 /tests | |
parent | 9689f734e8774232bac345ad71fa700306c46312 (diff) | |
download | nextcloud-server-67ecd729727965ae3ac93b78ed9d8a9631b82d3e.tar.gz nextcloud-server-67ecd729727965ae3ac93b78ed9d8a9631b82d3e.zip |
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Core/Controller/LoginControllerTest.php | 2 | ||||
-rw-r--r-- | tests/lib/Notification/ManagerTest.php | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/Core/Controller/LoginControllerTest.php b/tests/Core/Controller/LoginControllerTest.php index cee3da65994..b80fde008d5 100644 --- a/tests/Core/Controller/LoginControllerTest.php +++ b/tests/Core/Controller/LoginControllerTest.php @@ -260,7 +260,7 @@ class LoginControllerTest extends TestCase { [ 'MessageArray1', 'MessageArray2', - 'This community release of Nextcloud is unsupported and instant notifications are unavailable.', + 'This community release of Nextcloud is unsupported and push notifications are limited.', ] ); $this->initialStateService->expects($this->at(1)) diff --git a/tests/lib/Notification/ManagerTest.php b/tests/lib/Notification/ManagerTest.php index 6cdd254f001..e482ba3876b 100644 --- a/tests/lib/Notification/ManagerTest.php +++ b/tests/lib/Notification/ManagerTest.php @@ -248,10 +248,10 @@ class ManagerTest extends TestCase { public function dataIsFairUseOfFreePushService(): array { return [ - [true, 4999, true], - [true, 5000, true], - [false, 4999, true], - [false, 5000, false], + [true, 499, true], + [true, 500, true], + [false, 499, true], + [false, 500, false], ]; } |