mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
adapt path to new architecture
This commit is contained in:
parent
b6486ab57b
commit
c0e604415a
@ -40,7 +40,8 @@ class ChillMenuTwigFunctionTest extends KernelTestCase
|
|||||||
->getContainer()->get('templating');
|
->getContainer()->get('templating');
|
||||||
//load templates in Tests/Resources/views
|
//load templates in Tests/Resources/views
|
||||||
static::$kernel->getContainer()->get('twig.loader')
|
static::$kernel->getContainer()->get('twig.loader')
|
||||||
->addPath(__DIR__.'/../Fixtures/Resources/views/', $namespace = 'tests');
|
->addPath(static::$kernel->getContainer()->getParameter('kernel.root_dir')
|
||||||
|
.'/Resources/views/', $namespace = 'tests');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testNormalMenu()
|
public function testNormalMenu()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user