From 457debac3a998ac2f37c11580152cc1a6eb66880 Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Sat, 19 Jun 2021 23:58:03 -0700 Subject: [PATCH] Updated MiddlewareManagerTest --- tests/Bootstrap/MiddlewareManagerTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Bootstrap/MiddlewareManagerTest.php b/tests/Bootstrap/MiddlewareManagerTest.php index ea7c7f2..13568ad 100644 --- a/tests/Bootstrap/MiddlewareManagerTest.php +++ b/tests/Bootstrap/MiddlewareManagerTest.php @@ -12,6 +12,8 @@ class MiddlewareManagerTest extends TestCase { /** @const Array of application middlewares */ protected const MIDDLEWARES = [ + Middlewares\CacheMiddleware::class, + Middlewares\ThemeMiddleware::class, Middlewares\WhoopsMiddleware::class, ]; @@ -22,8 +24,7 @@ class MiddlewareManagerTest extends TestCase }, self::MIDDLEWARES); $app = $this->createMock(App::class); - $app->expects($this->atLeast(1))->method('add') - ->withConsecutive(...$arguments); + $app->expects($this->atLeast(1))->method('add')->withConsecutive(...$arguments); (new MiddlewareManager($app, $this->config))(); }