Skip to content

Commit

Permalink
Merge pull request nextcloud#33778 from nextcloud/followup/33770/fix-…
Browse files Browse the repository at this point in the history
…unit-tests

Fix unit tests
  • Loading branch information
blizzz authored Aug 31, 2022
2 parents 9689f73 + 67ecd72 commit 2600a00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/Core/Controller/LoginControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public function testShowLoginFormWithErrorsInSession() {
[
'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))
Expand Down
8 changes: 4 additions & 4 deletions tests/lib/Notification/ManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ public function testGetCount(): void {

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

Expand Down

0 comments on commit 2600a00

Please sign in to comment.