Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2022-08-31 20:54:39 +02:00
parent 9689f734e8
commit 67ecd72972
No known key found for this signature in database
GPG key ID: C400AAF20C1BB6FC
2 changed files with 5 additions and 5 deletions

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

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