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
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-05 10:30:49 +0300
committerJoas Schilling <coding@schilljs.com>2020-06-05 10:30:49 +0300
commit06bf132b550e2361594e19396698551fa1c54280 (patch)
treee3d8da74ce5b572f6215971233a59d43ea7c8c43 /tests
parent03e3b4c71bb13fbe6f5a39bf5c713553c03bbec5 (diff)
Adjust unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/php/Notification/NotifierTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/php/Notification/NotifierTest.php b/tests/php/Notification/NotifierTest.php
index 9c74fd66c..9e3823f34 100644
--- a/tests/php/Notification/NotifierTest.php
+++ b/tests/php/Notification/NotifierTest.php
@@ -786,7 +786,7 @@ class NotifierTest extends \Test\TestCase {
->with('roomToken')
->willReturn($room);
} elseif ($validRoom === false) {
- $n->expects($this->exactly(2))
+ $n->expects($this->once())
->method('getObjectId')
->willReturn('roomToken');
$this->manager->expects($this->once())