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()
143143 $ this ->assertFalse ($ container ->hasDefinition ('fragment.renderer.esi ' ), 'The ESI fragment renderer is not registered ' );
144144 }
145145
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+
146154 public function testSsi ()
147155 {
148156 $ container = $ this ->createContainerFromFile ('full ' );
@@ -167,6 +175,14 @@ public function testEsiAndSsiWithoutFragments()
167175 $ this ->assertTrue ($ container ->hasDefinition ('fragment.renderer.ssi ' ), 'The SSI fragment renderer is registered ' );
168176 }
169177
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+
170186 public function testEnabledProfiler ()
171187 {
172188 $ container = $ this ->createContainerFromFile ('profiler ' );
You can’t perform that action at this time.
0 commit comments