diff options
author | Joas Schilling <coding@schilljs.com> | 2018-08-02 10:54:12 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-08-02 10:54:12 +0300 |
commit | 03dfa995e9328d93c48d16c30946ca222ef41778 (patch) | |
tree | 029a5e5108526eb07490a01d17b15a6c86847244 | |
parent | eea9f4795a9b1d08294c8d6839408be3cb7a6427 (diff) |
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | tests/Unit/PushTest.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/Unit/PushTest.php b/tests/Unit/PushTest.php index 610e4db..c545e6f 100644 --- a/tests/Unit/PushTest.php +++ b/tests/Unit/PushTest.php @@ -536,15 +536,10 @@ class PushTest extends TestCase { $notification->expects($this->once()) ->method('getApp') ->willReturn('spreed'); - $notification->expects($this->once()) - ->method('getSubject') - ->willReturn('call'); } else { $notification->expects($this->once()) ->method('getApp') ->willReturn('notifications'); - $notification->expects($this->never()) - ->method('getSubject'); } /** @var IUser|\PHPUnit_Framework_MockObject_MockObject $user */ |