From fe39ea0aa5a6993ad5edaa6f0f338763ed610ec9 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Jun 2026 19:00:33 +0100 Subject: Make it so the router will call the middleware --- tests/Unit/RouterTest.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/Unit/RouterTest.php') diff --git a/tests/Unit/RouterTest.php b/tests/Unit/RouterTest.php index 4a92381..66b745f 100644 --- a/tests/Unit/RouterTest.php +++ b/tests/Unit/RouterTest.php @@ -340,3 +340,5 @@ it('builds routes in groups', function () { it('can create a group with middleware') ->expect((new Router())->middleware(new TestMiddleware())) ->toBeInstanceOf(Group::class); + +it('runs middleware on dispatch')->todo(); -- cgit v1.2.3