summaryrefslogtreecommitdiffstats
path: root/apps/comments/tests
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-10-07 17:27:33 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-10-07 17:27:33 +0200
commit006da9afd725060d48fd81893094256ddced0099 (patch)
treefff71e54f81f9248ad9d6bc6c2cc56cf2389147f /apps/comments/tests
parent522b053466aac53a0d3e329f15a29bb1ddc359a3 (diff)
downloadnextcloud-server-006da9afd725060d48fd81893094256ddced0099.tar.gz
nextcloud-server-006da9afd725060d48fd81893094256ddced0099.zip
use different files route/controller
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/comments/tests')
-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');