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/php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-11-16 13:36:07 +0300
committerJoas Schilling <coding@schilljs.com>2017-11-17 15:18:55 +0300
commitbf0ea8e775ed439dd3e2797268e7f67eede63bd8 (patch)
tree975116a6cfad0fcd6a3d8a93aa46dde1e11036b6 /tests/php
parentb66023a28145e5033113aa6fb0c4c3e0c35563e0 (diff)
Fix unit test
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/php')
-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 8bc20bae0..1d7c160bd 100644
--- a/tests/php/Notification/NotifierTest.php
+++ b/tests/php/Notification/NotifierTest.php
@@ -316,7 +316,7 @@ class NotifierTest extends \Test\TestCase {
$n->expects($this->once())
->method('getApp')
->willReturn($app);
- $n->expects($subject === null ? $this->never() : $this->once())
+ $n->expects($subject === null ? $this->never() : $this->atLeastOnce())
->method('getSubject')
->willReturn($subject);
$n->expects($params === null ? $this->never() : $this->once())