Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/php/Notification/NotifierTest.php')
-rw-r--r--tests/php/Notification/NotifierTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/php/Notification/NotifierTest.php b/tests/php/Notification/NotifierTest.php
index 54e1e50ec..96026c575 100644
--- a/tests/php/Notification/NotifierTest.php
+++ b/tests/php/Notification/NotifierTest.php
@@ -247,9 +247,9 @@ class NotifierTest extends TestCase {
->willReturn($room);
$participant = $this->createMock(Participant::class);
- $room->expects($this->once())
+ $this->participantService->expects($this->once())
->method('getParticipant')
- ->with('recipient')
+ ->with($room, 'recipient')
->willReturn($participant);
$this->lFactory->expects($this->exactly($numNotifications))
@@ -868,9 +868,9 @@ class NotifierTest extends TestCase {
->willReturn($roomName);
$participant = $this->createMock(Participant::class);
- $room->expects($this->once())
+ $this->participantService->expects($this->once())
->method('getParticipant')
- ->with('recipient')
+ ->with($room, 'recipient')
->willReturn($participant);
if ($roomName !== '') {