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 c569704 commit bb29e43Copy full SHA for bb29e43
Tests/Unit/Twig/Extension/CmfExtensionTest.php
@@ -33,7 +33,7 @@ public function setUp()
33
)->disableOriginalConstructor()->getMock();
34
35
$this->cmfExtension = new CmfExtension($this->cmfHelper);
36
- $this->env = new \Twig_Environment();
+ $this->env = new \Twig_Environment(new \Twig_Loader_Array(array()));
37
$this->env->addExtension($this->cmfExtension);
38
}
39
0 commit comments