Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-08-31 21:54:39 +0300
committerJoas Schilling <coding@schilljs.com>2022-08-31 21:54:39 +0300
commit67ecd729727965ae3ac93b78ed9d8a9631b82d3e (patch)
tree097b810e2098f62655090617d01b08b6b79cff10 /tests
parent9689f734e8774232bac345ad71fa700306c46312 (diff)
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Core/Controller/LoginControllerTest.php2
-rw-r--r--tests/lib/Notification/ManagerTest.php8
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],
];
}