File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed
src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,23 @@ public function testInvalidValueTrustedProxies()
86
86
));
87
87
}
88
88
89
+ public function testAssetsCanBeEnabled ()
90
+ {
91
+ $ processor = new Processor ();
92
+ $ configuration = new Configuration (true );
93
+ $ config = $ processor ->processConfiguration ($ configuration , array (array ('assets ' => null )));
94
+
95
+ $ defaultConfig = array (
96
+ 'version ' => null ,
97
+ 'version_format ' => '%%s?%%s ' ,
98
+ 'base_path ' => '' ,
99
+ 'base_urls ' => array (),
100
+ 'packages ' => array (),
101
+ );
102
+
103
+ $ this ->assertEquals ($ defaultConfig , $ config ['assets ' ]);
104
+ }
105
+
89
106
protected static function getBundleDefaultConfig ()
90
107
{
91
108
return array (
@@ -145,13 +162,6 @@ protected static function getBundleDefaultConfig()
145
162
'magic_call ' => false ,
146
163
'throw_exception_on_invalid_index ' => false ,
147
164
),
148
- 'assets ' => array (
149
- 'version ' => null ,
150
- 'version_format ' => '%%s?%%s ' ,
151
- 'base_path ' => '' ,
152
- 'base_urls ' => array (),
153
- 'packages ' => array (),
154
- ),
155
165
);
156
166
}
157
167
}
You can’t perform that action at this time.
0 commit comments