File tree 2 files changed +1
-10
lines changed
src/Symfony/Component/Routing/Tests
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 11
11
<condition >context.getMethod() == "GET"</condition >
12
12
</route >
13
13
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
-
23
14
<route id =" blog_show_inherited" path =" /blog/{slug}" />
24
15
</routes >
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public function testLoadWithImport()
70
70
$ routeCollection = $ loader ->load ('validresource.xml ' );
71
71
$ routes = $ routeCollection ->all ();
72
72
73
- $ this ->assertCount (3 , $ routes , 'Two routes are loaded ' );
73
+ $ this ->assertCount (2 , $ routes , 'Two routes are loaded ' );
74
74
$ this ->assertContainsOnly ('Symfony\Component\Routing\Route ' , $ routes );
75
75
76
76
foreach ($ routes as $ route ) {
You can’t perform that action at this time.
0 commit comments