summaryrefslogtreecommitdiffstats
path: root/apps/comments/tests/Unit
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/tests/Unit')
-rw-r--r--apps/comments/tests/Unit/Controller/NotificationsTest.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/comments/tests/Unit/Controller/NotificationsTest.php b/apps/comments/tests/Unit/Controller/NotificationsTest.php
index 5ab39788213..e887900a615 100644
--- a/apps/comments/tests/Unit/Controller/NotificationsTest.php
+++ b/apps/comments/tests/Unit/Controller/NotificationsTest.php
@@ -72,9 +72,6 @@ class NotificationsTest extends TestCase {
->will($this->returnValue($comment));
$file = $this->getMockBuilder('\OCP\Files\Node')->getMock();
- $file->expects($this->once())
- ->method('getParent')
- ->will($this->returnValue($this->getMockBuilder('\OCP\Files\Folder')->getMock()));
$this->folder->expects($this->once())
->method('getById')
@@ -106,10 +103,6 @@ class NotificationsTest extends TestCase {
->with('42')
->will($this->throwException(new NotFoundException()));
- $file = $this->getMockBuilder('\OCP\Files\Node')->getMock();
- $file->expects($this->never())
- ->method('getParent');
-
$this->folder->expects($this->never())
->method('getById');