summaryrefslogtreecommitdiff
path: root/tests/Unit
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
committerSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
commit3604c8e0b9bb64d54cb639a001161ca0ede044e6 (patch)
tree4f10a58fe79b9cd539c5dae640531b9e260d8c54 /tests/Unit
parentd5803937abad436ee85be7478fa6f7cd0b3f3b21 (diff)
assert middleware call order
Diffstat (limited to 'tests/Unit')
-rw-r--r--tests/Unit/BasicStrategyTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Unit/BasicStrategyTest.php b/tests/Unit/BasicStrategyTest.php
index 2c657d6..9f057c1 100644
--- a/tests/Unit/BasicStrategyTest.php
+++ b/tests/Unit/BasicStrategyTest.php
@@ -60,7 +60,9 @@ it('runs middleware', function () {
expect($result)->toBe($response);
$mw1->assertCalled();
+ $mw1->assertCallNumber(1);
$mw2->assertCalled();
+ $mw2->assertCallNumber(2);
$handler->assertCalled();
});