@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | $this->navigationManager->expects($this->once()) |
53 | 53 | ->method('getAll') |
54 | 54 | ->with('link') |
55 | - ->willReturn(['files' => ['id' => 'files', 'href' => '/index.php/apps/files', 'icon' => 'icon' ] ]); |
|
55 | + ->willReturn(['files' => ['id' => 'files', 'href' => '/index.php/apps/files', 'icon' => 'icon']]); |
|
56 | 56 | if ($absolute) { |
57 | 57 | $this->urlGenerator->expects($this->any()) |
58 | 58 | ->method('getBaseURL') |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | $this->navigationManager->expects($this->once()) |
81 | 81 | ->method('getAll') |
82 | 82 | ->with('settings') |
83 | - ->willReturn(['settings' => ['id' => 'settings', 'href' => '/index.php/settings/user', 'icon' => '/core/img/settings.svg'] ]); |
|
83 | + ->willReturn(['settings' => ['id' => 'settings', 'href' => '/index.php/settings/user', 'icon' => '/core/img/settings.svg']]); |
|
84 | 84 | if ($absolute) { |
85 | 85 | $this->urlGenerator->expects($this->any()) |
86 | 86 | ->method('getBaseURL') |
@@ -105,16 +105,16 @@ discard block |
||
105 | 105 | |
106 | 106 | public function testEtagIgnoresLogout(): void { |
107 | 107 | $navigation1 = [ |
108 | - ['id' => 'files', 'href' => '/index.php/apps/files', 'icon' => 'icon' ], |
|
109 | - ['id' => 'logout', 'href' => '/index.php/logout?requesttoken=abcd', 'icon' => 'icon' ], |
|
108 | + ['id' => 'files', 'href' => '/index.php/apps/files', 'icon' => 'icon'], |
|
109 | + ['id' => 'logout', 'href' => '/index.php/logout?requesttoken=abcd', 'icon' => 'icon'], |
|
110 | 110 | ]; |
111 | 111 | $navigation2 = [ |
112 | - ['id' => 'files', 'href' => '/index.php/apps/files', 'icon' => 'icon' ], |
|
113 | - ['id' => 'logout', 'href' => '/index.php/logout?requesttoken=1234', 'icon' => 'icon' ], |
|
112 | + ['id' => 'files', 'href' => '/index.php/apps/files', 'icon' => 'icon'], |
|
113 | + ['id' => 'logout', 'href' => '/index.php/logout?requesttoken=1234', 'icon' => 'icon'], |
|
114 | 114 | ]; |
115 | 115 | $navigation3 = [ |
116 | - ['id' => 'files', 'href' => '/index.php/apps/files/test', 'icon' => 'icon' ], |
|
117 | - ['id' => 'logout', 'href' => '/index.php/logout?requesttoken=1234', 'icon' => 'icon' ], |
|
116 | + ['id' => 'files', 'href' => '/index.php/apps/files/test', 'icon' => 'icon'], |
|
117 | + ['id' => 'logout', 'href' => '/index.php/logout?requesttoken=1234', 'icon' => 'icon'], |
|
118 | 118 | ]; |
119 | 119 | $this->navigationManager->expects($this->exactly(3)) |
120 | 120 | ->method('getAll') |