diff options
author | Joas Schilling <coding@schilljs.com> | 2019-07-16 13:32:44 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-07-16 13:32:44 +0200 |
commit | 565838da9c279fe071a9cdfbfd9cf574893a61f5 (patch) | |
tree | edca999a6b0a1a6ce373850cd57b8b0a2759d61f /apps/comments/tests/Unit/Controller/NotificationsTest.php | |
parent | c3ef1cd90d215f36edf7236456578a233bc5f3bd (diff) | |
download | nextcloud-server-565838da9c279fe071a9cdfbfd9cf574893a61f5.tar.gz nextcloud-server-565838da9c279fe071a9cdfbfd9cf574893a61f5.zip |
Update unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/comments/tests/Unit/Controller/NotificationsTest.php')
-rw-r--r-- | apps/comments/tests/Unit/Controller/NotificationsTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/comments/tests/Unit/Controller/NotificationsTest.php b/apps/comments/tests/Unit/Controller/NotificationsTest.php index c5209b9f9d5..9df81f01b02 100644 --- a/apps/comments/tests/Unit/Controller/NotificationsTest.php +++ b/apps/comments/tests/Unit/Controller/NotificationsTest.php @@ -117,6 +117,9 @@ class NotificationsTest extends TestCase { $comment->expects($this->any()) ->method('getObjectType') ->willReturn('files'); + $comment->expects($this->any()) + ->method('getId') + ->willReturn('1234'); $this->commentsManager->expects($this->any()) ->method('get') @@ -192,6 +195,9 @@ class NotificationsTest extends TestCase { $comment->expects($this->any()) ->method('getObjectType') ->willReturn('files'); + $comment->expects($this->any()) + ->method('getId') + ->willReturn('1234'); $this->commentsManager->expects($this->any()) ->method('get') |