Skip to content

Commit 35fa8e3

Browse files
Tobionnicolas-grekas
authored andcommitted
[Routing] also add matched params for redirect due to trailing slash
1 parent 4442c70 commit 35fa8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Routing/RedirectableUrlMatcherTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testRedirectWhenNoSlash()
3333
'scheme' => null,
3434
'httpPort' => $context->getHttpPort(),
3535
'httpsPort' => $context->getHttpsPort(),
36-
'_route' => null,
36+
'_route' => 'foo',
3737
),
3838
$matcher->match('/foo')
3939
);

0 commit comments

Comments
 (0)