8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 812fbb4 commit c541804Copy full SHA for c541804
src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/TwigExtensionTest.php
@@ -230,10 +230,11 @@ public function testRuntimeLoader()
230
$container->compile();
231
232
$loader = $container->getDefinition('twig.runtime_loader');
233
- $this->assertEquals(array(
234
- 'Symfony\Bridge\Twig\Form\TwigRenderer' => 'twig.form.renderer',
235
- 'FooClass' => 'foo',
236
- ), $loader->getArgument(1));
+ $args = $loader->getArgument(1);
+ $this->assertArrayHasKey('Symfony\Bridge\Twig\Form\TwigRenderer', $args);
+ $this->assertArrayHasKey('FooClass', $args);
+ $this->assertContains('twig.form.renderer', $args);
237
+ $this->assertContains('foo', $args);
238
}
239
240
private function createContainer()
0 commit comments