Skip to content

Commit 2600a00

Browse files
authored
Merge pull request #33778 from nextcloud/followup/33770/fix-unit-tests
Fix unit tests
2 parents 9689f73 + 67ecd72 commit 2600a00

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/Core/Controller/LoginControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public function testShowLoginFormWithErrorsInSession() {
260260
[
261261
'MessageArray1',
262262
'MessageArray2',
263-
'This community release of Nextcloud is unsupported and instant notifications are unavailable.',
263+
'This community release of Nextcloud is unsupported and push notifications are limited.',
264264
]
265265
);
266266
$this->initialStateService->expects($this->at(1))

tests/lib/Notification/ManagerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ public function testGetCount(): void {
248248

249249
public function dataIsFairUseOfFreePushService(): array {
250250
return [
251-
[true, 4999, true],
252-
[true, 5000, true],
253-
[false, 4999, true],
254-
[false, 5000, false],
251+
[true, 499, true],
252+
[true, 500, true],
253+
[false, 499, true],
254+
[false, 500, false],
255255
];
256256
}
257257

0 commit comments

Comments
 (0)