File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,14 @@ public function testEsiDisabled()
143
143
$ this ->assertFalse ($ container ->hasDefinition ('fragment.renderer.esi ' ), 'The ESI fragment renderer is not registered ' );
144
144
}
145
145
146
+ public function testEsiInactive ()
147
+ {
148
+ $ container = $ this ->createContainerFromFile ('default_config ' );
149
+
150
+ $ this ->assertFalse ($ container ->hasDefinition ('fragment.renderer.esi ' ));
151
+ $ this ->assertFalse ($ container ->hasDefinition ('esi ' ));
152
+ }
153
+
146
154
public function testSsi ()
147
155
{
148
156
$ container = $ this ->createContainerFromFile ('full ' );
@@ -167,6 +175,14 @@ public function testEsiAndSsiWithoutFragments()
167
175
$ this ->assertTrue ($ container ->hasDefinition ('fragment.renderer.ssi ' ), 'The SSI fragment renderer is registered ' );
168
176
}
169
177
178
+ public function testSsiInactive ()
179
+ {
180
+ $ container = $ this ->createContainerFromFile ('default_config ' );
181
+
182
+ $ this ->assertFalse ($ container ->hasDefinition ('fragment.renderer.ssi ' ));
183
+ $ this ->assertFalse ($ container ->hasDefinition ('ssi ' ));
184
+ }
185
+
170
186
public function testEnabledProfiler ()
171
187
{
172
188
$ container = $ this ->createContainerFromFile ('profiler ' );
You can’t perform that action at this time.
0 commit comments