Fix tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-03-07 09:17:18 +01:00
parent 11b6cc3f68
commit 16ac8eaac9
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class NavigationControllerTest extends TestCase {
$this->request->expects($this->once()) $this->request->expects($this->once())
->method('getHeader') ->method('getHeader')
->with('If-None-Match') ->with('If-None-Match')
->willReturn(md5(json_encode(['files']))); ->willReturn(md5(json_encode($navigation)));
$this->navigationManager->expects($this->once()) $this->navigationManager->expects($this->once())
->method('getAll') ->method('getAll')
->with('link') ->with('link')