diff options
| author | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
| commit | b899a995e2fd977fbf7497b36b2dbc8d641ef398 (patch) | |
| tree | e35680ea490fb486da43012bbfaaee8b7ee27f8c /tests/Unit/BasicStrategyTest.php | |
| parent | 57e101668e62aab7d332c1c2f403eee9511de626 (diff) | |
Started structure for middleware
Diffstat (limited to 'tests/Unit/BasicStrategyTest.php')
| -rw-r--r-- | tests/Unit/BasicStrategyTest.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Unit/BasicStrategyTest.php b/tests/Unit/BasicStrategyTest.php index 1f1489a..896858d 100644 --- a/tests/Unit/BasicStrategyTest.php +++ b/tests/Unit/BasicStrategyTest.php @@ -37,8 +37,12 @@ it('calls route', function () { [] )); - $cb->assertIsCalled(); + $cb->assertCalled(); $call = $cb->getLastCall(); expect($call->args[0] ?? null)->toBe($rc); expect($res)->toBe($response); }); + +it('runs middleware', function() { + $factory = new +}); |
