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