Skip to content

Commit

Permalink
symfony 5.4 fix kernel.root_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusrusu committed Apr 26, 2023
1 parent 38e55a8 commit 69503b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/AbstractBaseControllerTestClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function setUp($fixtureFilename = null)
;

$this->getClientOrCreateOne();
$folder = static::$kernel->getContainer()->getParameter('kernel.root_dir');
$folder = static::$kernel->getContainer()->getParameter('kernel.project_dir');
$dbPath = static::$kernel->getContainer()->getParameter('database_url');

if(substr($dbPath,0,8) == 'mysql://')
Expand Down

0 comments on commit 69503b2

Please sign in to comment.