File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
src/Symfony/Component/Routing/Tests Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 1111 <condition >context.getMethod() == "GET"</condition >
1212 </route >
1313
14- <route id =" blog_show_legacy" path =" /blog/{slug}" host =" {locale}.example.com" >
15- <default key =" _controller" >MyBundle:Blog:show</default >
16- <requirement key =" _method" >GET|POST|put|OpTiOnS</requirement >
17- <requirement key =" _scheme" >hTTps</requirement >
18- <requirement key =" locale" >\w+</requirement >
19- <option key =" compiler_class" >RouteCompiler</option >
20- <condition >context.getMethod() == "GET"</condition >
21- </route >
22-
2314 <route id =" blog_show_inherited" path =" /blog/{slug}" />
2415</routes >
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public function testLoadWithImport()
7070 $ routeCollection = $ loader ->load ('validresource.xml ' );
7171 $ routes = $ routeCollection ->all ();
7272
73- $ this ->assertCount (3 , $ routes , 'Two routes are loaded ' );
73+ $ this ->assertCount (2 , $ routes , 'Two routes are loaded ' );
7474 $ this ->assertContainsOnly ('Symfony\Component\Routing\Route ' , $ routes );
7575
7676 foreach ($ routes as $ route ) {
You can’t perform that action at this time.
0 commit comments