Quellcode durchsuchen
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v25.0.0beta4
Joas Schilling
vor 1 Jahr
Ursprung
Commit
67ecd72972
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
|
|
@@ -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], |
|
|
|
]; |
|
|
|
} |
|
|
|
|