diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-08-31 22:25:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 22:25:16 +0200 |
commit | 2600a00c007683f39e24028d4ad7a912937ef16f (patch) | |
tree | 097b810e2098f62655090617d01b08b6b79cff10 | |
parent | 9689f734e8774232bac345ad71fa700306c46312 (diff) | |
parent | 67ecd729727965ae3ac93b78ed9d8a9631b82d3e (diff) | |
download | nextcloud-server-2600a00c007683f39e24028d4ad7a912937ef16f.tar.gz nextcloud-server-2600a00c007683f39e24028d4ad7a912937ef16f.zip |
Merge pull request #33778 from nextcloud/followup/33770/fix-unit-tests
Fix unit 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], ]; } |