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(
293
293
function it_generates_routes_with_requirements (
294
294
OperationRoutePathFactoryInterface $ routePathFactory ,
295
295
): void {
296
- $ operation = new Index (routeRequirements: ['country ' , ' province ' , ' zone ' ]);
296
+ $ operation = new Index (routeRequirements: ['type ' => ' country|province| zone ' ]);
297
297
298
298
$ metadata = Metadata::fromAliasAndConfiguration ('app.dummy ' , ['driver ' => 'dummy_driver ' ]);
299
299
@@ -305,6 +305,6 @@ function it_generates_routes_with_requirements(
305
305
$ operation ,
306
306
);
307
307
308
- $ route ->getRequirements ()->shouldReturn (['country ' , ' province ' , ' zone ' ]);
308
+ $ route ->getRequirements ()->shouldReturn (['type ' => ' country|province| zone ' ]);
309
309
}
310
310
}
You can’t perform that action at this time.
0 commit comments