diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-05-27 13:35:48 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | ef00f9d2033f6de11e71bf3a909399cae6f73a9f (patch) | |
tree | 96f47312084bab73be34495eed4280110a8ff258 /tests/front/controller/visitor/TagCloudControllerTest.php | |
parent | ba43064ddb7771fc97df135a32f9b0d5e373dd36 (diff) | |
download | Shaarli-ef00f9d2033f6de11e71bf3a909399cae6f73a9f.tar.gz Shaarli-ef00f9d2033f6de11e71bf3a909399cae6f73a9f.tar.zst Shaarli-ef00f9d2033f6de11e71bf3a909399cae6f73a9f.zip |
Process password change controller through Slim
Diffstat (limited to 'tests/front/controller/visitor/TagCloudControllerTest.php')
-rw-r--r-- | tests/front/controller/visitor/TagCloudControllerTest.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/front/controller/visitor/TagCloudControllerTest.php b/tests/front/controller/visitor/TagCloudControllerTest.php index e636d496..9a6a4bc0 100644 --- a/tests/front/controller/visitor/TagCloudControllerTest.php +++ b/tests/front/controller/visitor/TagCloudControllerTest.php | |||
@@ -28,8 +28,6 @@ class TagCloudControllerTest extends TestCase | |||
28 | */ | 28 | */ |
29 | public function testValidCloudControllerInvokeDefault(): void | 29 | public function testValidCloudControllerInvokeDefault(): void |
30 | { | 30 | { |
31 | $this->createValidContainerMockSet(); | ||
32 | |||
33 | $allTags = [ | 31 | $allTags = [ |
34 | 'ghi' => 1, | 32 | 'ghi' => 1, |
35 | 'abc' => 3, | 33 | 'abc' => 3, |
@@ -94,8 +92,6 @@ class TagCloudControllerTest extends TestCase | |||
94 | */ | 92 | */ |
95 | public function testValidCloudControllerInvokeWithParameters(): void | 93 | public function testValidCloudControllerInvokeWithParameters(): void |
96 | { | 94 | { |
97 | $this->createValidContainerMockSet(); | ||
98 | |||
99 | $request = $this->createMock(Request::class); | 95 | $request = $this->createMock(Request::class); |
100 | $request | 96 | $request |
101 | ->method('getQueryParam') | 97 | ->method('getQueryParam') |
@@ -161,8 +157,6 @@ class TagCloudControllerTest extends TestCase | |||
161 | */ | 157 | */ |
162 | public function testEmptyCloud(): void | 158 | public function testEmptyCloud(): void |
163 | { | 159 | { |
164 | $this->createValidContainerMockSet(); | ||
165 | |||
166 | $request = $this->createMock(Request::class); | 160 | $request = $this->createMock(Request::class); |
167 | $response = new Response(); | 161 | $response = new Response(); |
168 | 162 | ||
@@ -209,8 +203,6 @@ class TagCloudControllerTest extends TestCase | |||
209 | */ | 203 | */ |
210 | public function testValidListControllerInvokeDefault(): void | 204 | public function testValidListControllerInvokeDefault(): void |
211 | { | 205 | { |
212 | $this->createValidContainerMockSet(); | ||
213 | |||
214 | $allTags = [ | 206 | $allTags = [ |
215 | 'def' => 12, | 207 | 'def' => 12, |
216 | 'abc' => 3, | 208 | 'abc' => 3, |
@@ -271,8 +263,6 @@ class TagCloudControllerTest extends TestCase | |||
271 | */ | 263 | */ |
272 | public function testValidListControllerInvokeWithParameters(): void | 264 | public function testValidListControllerInvokeWithParameters(): void |
273 | { | 265 | { |
274 | $this->createValidContainerMockSet(); | ||
275 | |||
276 | $request = $this->createMock(Request::class); | 266 | $request = $this->createMock(Request::class); |
277 | $request | 267 | $request |
278 | ->method('getQueryParam') | 268 | ->method('getQueryParam') |
@@ -336,8 +326,6 @@ class TagCloudControllerTest extends TestCase | |||
336 | */ | 326 | */ |
337 | public function testEmptyList(): void | 327 | public function testEmptyList(): void |
338 | { | 328 | { |
339 | $this->createValidContainerMockSet(); | ||
340 | |||
341 | $request = $this->createMock(Request::class); | 329 | $request = $this->createMock(Request::class); |
342 | $response = new Response(); | 330 | $response = new Response(); |
343 | 331 | ||