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