diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-05 10:30:49 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-05 10:30:49 +0300 |
commit | 06bf132b550e2361594e19396698551fa1c54280 (patch) | |
tree | e3d8da74ce5b572f6215971233a59d43ea7c8c43 /tests | |
parent | 03e3b4c71bb13fbe6f5a39bf5c713553c03bbec5 (diff) |
Adjust unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-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 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()) |