summaryrefslogtreecommitdiff
path: root/tests/Unit
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2026-06-10 19:00:33 +0100
committerSam Light <sam@lightscale.co.uk>2026-06-10 19:00:33 +0100
commitfe39ea0aa5a6993ad5edaa6f0f338763ed610ec9 (patch)
treea466975d5194c89dd817437654fb5c3c84b7699d /tests/Unit
parent1a9da09ccc68c7a8fdc8a1d9989e8916ac442f9e (diff)
Make it so the router will call the middleware
Diffstat (limited to 'tests/Unit')
-rw-r--r--tests/Unit/RouterTest.php2
1 files changed, 2 insertions, 0 deletions
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();