aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front/controller/visitor/DailyControllerTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-05-27 13:35:48 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commitef00f9d2033f6de11e71bf3a909399cae6f73a9f (patch)
tree96f47312084bab73be34495eed4280110a8ff258 /tests/front/controller/visitor/DailyControllerTest.php
parentba43064ddb7771fc97df135a32f9b0d5e373dd36 (diff)
downloadShaarli-ef00f9d2033f6de11e71bf3a909399cae6f73a9f.tar.gz
Shaarli-ef00f9d2033f6de11e71bf3a909399cae6f73a9f.tar.zst
Shaarli-ef00f9d2033f6de11e71bf3a909399cae6f73a9f.zip
Process password change controller through Slim
Diffstat (limited to 'tests/front/controller/visitor/DailyControllerTest.php')
-rw-r--r--tests/front/controller/visitor/DailyControllerTest.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/front/controller/visitor/DailyControllerTest.php b/tests/front/controller/visitor/DailyControllerTest.php
index 6ff769fc..872420fd 100644
--- a/tests/front/controller/visitor/DailyControllerTest.php
+++ b/tests/front/controller/visitor/DailyControllerTest.php
@@ -27,8 +27,6 @@ class DailyControllerTest extends TestCase
27 27
28 public function testValidIndexControllerInvokeDefault(): void 28 public function testValidIndexControllerInvokeDefault(): void
29 { 29 {
30 $this->createValidContainerMockSet();
31
32 $currentDay = new \DateTimeImmutable('2020-05-13'); 30 $currentDay = new \DateTimeImmutable('2020-05-13');
33 31
34 $request = $this->createMock(Request::class); 32 $request = $this->createMock(Request::class);
@@ -169,8 +167,6 @@ class DailyControllerTest extends TestCase
169 */ 167 */
170 public function testValidIndexControllerInvokeNoFutureOrPast(): void 168 public function testValidIndexControllerInvokeNoFutureOrPast(): void
171 { 169 {
172 $this->createValidContainerMockSet();
173
174 $currentDay = new \DateTimeImmutable('2020-05-13'); 170 $currentDay = new \DateTimeImmutable('2020-05-13');
175 171
176 $request = $this->createMock(Request::class); 172 $request = $this->createMock(Request::class);
@@ -243,8 +239,6 @@ class DailyControllerTest extends TestCase
243 */ 239 */
244 public function testValidIndexControllerInvokeHeightAdjustment(): void 240 public function testValidIndexControllerInvokeHeightAdjustment(): void
245 { 241 {
246 $this->createValidContainerMockSet();
247
248 $currentDay = new \DateTimeImmutable('2020-05-13'); 242 $currentDay = new \DateTimeImmutable('2020-05-13');
249 243
250 $request = $this->createMock(Request::class); 244 $request = $this->createMock(Request::class);
@@ -314,8 +308,6 @@ class DailyControllerTest extends TestCase
314 */ 308 */
315 public function testValidIndexControllerInvokeNoBookmark(): void 309 public function testValidIndexControllerInvokeNoBookmark(): void
316 { 310 {
317 $this->createValidContainerMockSet();
318
319 $request = $this->createMock(Request::class); 311 $request = $this->createMock(Request::class);
320 $response = new Response(); 312 $response = new Response();
321 313
@@ -363,8 +355,6 @@ class DailyControllerTest extends TestCase
363 */ 355 */
364 public function testValidRssControllerInvokeDefault(): void 356 public function testValidRssControllerInvokeDefault(): void
365 { 357 {
366 $this->createValidContainerMockSet();
367
368 $dates = [ 358 $dates = [
369 new \DateTimeImmutable('2020-05-17'), 359 new \DateTimeImmutable('2020-05-17'),
370 new \DateTimeImmutable('2020-05-15'), 360 new \DateTimeImmutable('2020-05-15'),
@@ -439,8 +429,6 @@ class DailyControllerTest extends TestCase
439 */ 429 */
440 public function testValidRssControllerInvokeTriggerCache(): void 430 public function testValidRssControllerInvokeTriggerCache(): void
441 { 431 {
442 $this->createValidContainerMockSet();
443
444 $request = $this->createMock(Request::class); 432 $request = $this->createMock(Request::class);
445 $response = new Response(); 433 $response = new Response();
446 434
@@ -465,8 +453,6 @@ class DailyControllerTest extends TestCase
465 */ 453 */
466 public function testValidRssControllerInvokeNoBookmark(): void 454 public function testValidRssControllerInvokeNoBookmark(): void
467 { 455 {
468 $this->createValidContainerMockSet();
469
470 $request = $this->createMock(Request::class); 456 $request = $this->createMock(Request::class);
471 $response = new Response(); 457 $response = new Response();
472 458