summaryrefslogtreecommitdiff
path: root/tests/Unit/Middleware/RouteDispatcherTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Middleware/RouteDispatcherTest.php')
-rw-r--r--tests/Unit/Middleware/RouteDispatcherTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Unit/Middleware/RouteDispatcherTest.php b/tests/Unit/Middleware/RouteDispatcherTest.php
index 611d3b7c..d6ed3408 100644
--- a/tests/Unit/Middleware/RouteDispatcherTest.php
+++ b/tests/Unit/Middleware/RouteDispatcherTest.php
@@ -32,10 +32,11 @@ class RouteDispatcherTest extends TestCase
->with('HEAD', '/foo!bar')
->willReturn([FastRouteDispatcher::FOUND, $handler, ['foo' => 'bar', 'lorem' => 'ipsum']]);
- $request->expects($this->exactly(3))
+ $request->expects($this->exactly(4))
->method('withAttribute')
->withConsecutive(
['route-request-handler', $handler],
+ ['route-request-path', '/foo!bar'],
['foo', 'bar'],
['lorem', 'ipsum']
)