File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Component/spec/Symfony/Routing/Factory Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ function it_generates_routes_with_vars(
293293 function it_generates_routes_with_requirements (
294294 OperationRoutePathFactoryInterface $ routePathFactory ,
295295 ): void {
296- $ operation = new Index (routeRequirements: ['country ' , ' province ' , ' zone ' ]);
296+ $ operation = new Index (routeRequirements: ['type ' => ' country|province| zone ' ]);
297297
298298 $ metadata = Metadata::fromAliasAndConfiguration ('app.dummy ' , ['driver ' => 'dummy_driver ' ]);
299299
@@ -305,6 +305,6 @@ function it_generates_routes_with_requirements(
305305 $ operation ,
306306 );
307307
308- $ route ->getRequirements ()->shouldReturn (['country ' , ' province ' , ' zone ' ]);
308+ $ route ->getRequirements ()->shouldReturn (['type ' => ' country|province| zone ' ]);
309309 }
310310}
You can’t perform that action at this time.
0 commit comments