@@ 137-146 (lines=10) @@ | ||
134 | $this->assertTrue($this->container->has('ivory.google_map.twig.extension.place_autocomplete')); |
|
135 | } |
|
136 | ||
137 | public function testTemplatingFormResources() |
|
138 | { |
|
139 | $this->container->setParameter($parameter = 'templating.helper.form.resources', $resources = ['resource']); |
|
140 | $this->container->compile(); |
|
141 | ||
142 | $this->assertSame( |
|
143 | array_merge(['IvoryGoogleMapBundle:Form'], $resources), |
|
144 | $this->container->getParameter($parameter) |
|
145 | ); |
|
146 | } |
|
147 | ||
148 | public function testTwigFormResources() |
|
149 | { |
|
@@ 148-157 (lines=10) @@ | ||
145 | ); |
|
146 | } |
|
147 | ||
148 | public function testTwigFormResources() |
|
149 | { |
|
150 | $this->container->setParameter($parameter = 'twig.form.resources', $resources = ['resource']); |
|
151 | $this->container->compile(); |
|
152 | ||
153 | $this->assertSame( |
|
154 | array_merge(['IvoryGoogleMapBundle:Form:place_autocomplete_widget.html.twig'], $resources), |
|
155 | $this->container->getParameter($parameter) |
|
156 | ); |
|
157 | } |
|
158 | ||
159 | public function testFormatterDebug() |
|
160 | { |