@@ 117-125 (lines=9) @@ | ||
114 | $this->assertFalse($this->container->has('ivory.google_map.twig.extension.place_autocomplete')); |
|
115 | } |
|
116 | ||
117 | public function testTemplatingHelpers() |
|
118 | { |
|
119 | $this->container->setDefinition('templating.engine.php', new Definition(\stdClass::class)); |
|
120 | $this->container->compile(); |
|
121 | ||
122 | $this->assertTrue($this->container->has('ivory.google_map.templating.api')); |
|
123 | $this->assertTrue($this->container->has('ivory.google_map.templating.map')); |
|
124 | $this->assertTrue($this->container->has('ivory.google_map.templating.place_autocomplete')); |
|
125 | } |
|
126 | ||
127 | public function testTwigExtensions() |
|
128 | { |
|
@@ 127-135 (lines=9) @@ | ||
124 | $this->assertTrue($this->container->has('ivory.google_map.templating.place_autocomplete')); |
|
125 | } |
|
126 | ||
127 | public function testTwigExtensions() |
|
128 | { |
|
129 | $this->container->setDefinition('twig', new Definition(\stdClass::class)); |
|
130 | $this->container->compile(); |
|
131 | ||
132 | $this->assertTrue($this->container->has('ivory.google_map.twig.extension.api')); |
|
133 | $this->assertTrue($this->container->has('ivory.google_map.twig.extension.map')); |
|
134 | $this->assertTrue($this->container->has('ivory.google_map.twig.extension.place_autocomplete')); |
|
135 | } |
|
136 | ||
137 | public function testTemplatingFormResources() |
|
138 | { |