Browse Source

Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v25.0.0beta4
Joas Schilling 1 year ago
parent
commit
67ecd72972
No account linked to committer's email address

+ 1
- 1
tests/Core/Controller/LoginControllerTest.php View File

@@ -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))

+ 4
- 4
tests/lib/Notification/ManagerTest.php View File

@@ -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],
];
}


Loading…
Cancel
Save