Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-08-02 10:54:12 +0300
committerJoas Schilling <coding@schilljs.com>2018-08-02 10:54:12 +0300
commit03dfa995e9328d93c48d16c30946ca222ef41778 (patch)
tree029a5e5108526eb07490a01d17b15a6c86847244
parenteea9f4795a9b1d08294c8d6839408be3cb7a6427 (diff)
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--tests/Unit/PushTest.php5
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 */