Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/33778/head
Joas Schilling 4 years ago
parent 9689f734e8
commit 67ecd72972
No known key found for this signature in database
GPG Key ID: C400AAF20C1BB6FC
  1. 2
      tests/Core/Controller/LoginControllerTest.php
  2. 8
      tests/lib/Notification/ManagerTest.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))

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