summaryrefslogtreecommitdiffstats
path: root/tests/Core
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-03-07 09:17:18 +0100
committerJulius Härtl <jus@bitgrid.net>2018-03-07 09:17:18 +0100
commit16ac8eaac9779f9ab297ab99fa5211e37563002c (patch)
treed4e7967b56aa4822255e7f2e0680ce983028438a /tests/Core
parent11b6cc3f68f55e1c5e725b737b39c0a7f79e0ec1 (diff)
downloadnextcloud-server-16ac8eaac9779f9ab297ab99fa5211e37563002c.tar.gz
nextcloud-server-16ac8eaac9779f9ab297ab99fa5211e37563002c.zip
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/Core')
-rw-r--r--tests/Core/Controller/NavigationControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Controller/NavigationControllerTest.php b/tests/Core/Controller/NavigationControllerTest.php
index a33ddf7dd23..86173405c1c 100644
--- a/tests/Core/Controller/NavigationControllerTest.php
+++ b/tests/Core/Controller/NavigationControllerTest.php
@@ -132,7 +132,7 @@ class NavigationControllerTest extends TestCase {
$this->request->expects($this->once())
->method('getHeader')
->with('If-None-Match')
- ->willReturn(md5(json_encode(['files'])));
+ ->willReturn(md5(json_encode($navigation)));
$this->navigationManager->expects($this->once())
->method('getAll')
->with('link')