diff options
author | Joas Schilling <coding@schilljs.com> | 2017-11-16 13:36:07 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-11-17 15:18:55 +0300 |
commit | bf0ea8e775ed439dd3e2797268e7f67eede63bd8 (patch) | |
tree | 975116a6cfad0fcd6a3d8a93aa46dde1e11036b6 /tests/php | |
parent | b66023a28145e5033113aa6fb0c4c3e0c35563e0 (diff) |
Fix unit test
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/php')
-rw-r--r-- | tests/php/Notification/NotifierTest.php | 2 |
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()) |