File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed
Resources/Fixtures/config Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1
1
<config xmlns =" http://cmf.symfony.com/schema/dic/routing" >
2
-
3
2
<dynamic >
4
3
<persistence >
5
4
<phpcr
6
5
manager-name =" default"
6
+ route-basepath =" /cms/routes"
7
+ content-basepath =" /cms/content"
8
+ use-sonata-admin =" auto"
7
9
/>
8
10
</persistence >
9
11
</dynamic >
Original file line number Diff line number Diff line change
1
+ <config xmlns =" http://cmf.symfony.com/schema/dic/routing" >
2
+
3
+ <dynamic
4
+ route-collection-limit =" 42"
5
+ generic-controller =" my-controller"
6
+ default-controller =" other-controller"
7
+ uri-filter-regexp =" .*"
8
+ route-provider-service-id =" my-provider"
9
+ content-repository-service-id =" my-repo"
10
+ >
11
+ <controller-by-type type =" type-a" >type-controller</controller-by-type >
12
+ <controller-by-class class =" class-a" >class-controller</controller-by-class >
13
+ <template-by-class class =" class-b" >template-b</template-by-class >
14
+ <route-filter-by-id id =" my-filter" >20</route-filter-by-id >
15
+ <locale >en</locale >
16
+ <locale >de</locale >
17
+ </dynamic >
18
+ </config >
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public function testSchema()
35
35
'config1.xml ' ,
36
36
'config2.xml ' ,
37
37
'config3.xml ' ,
38
+ 'config4.xml ' ,
38
39
));
39
40
40
41
$ this ->assertSchemaAcceptsXml ($ xmlFiles , $ this ->schemaPath );
You can’t perform that action at this time.
0 commit comments