mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Use a dedicated database_url parameter for tests
This commit is contained in:
parent
43a4f57798
commit
92b6aa49fb
5 changed files with 5 additions and 1 deletions
|
@ -38,7 +38,7 @@ class InstallCommandTest extends WallabagTestCase
|
|||
/** @var Connection $connection */
|
||||
$connection = $this->getTestClient()->getContainer()->get(ManagerRegistry::class)->getConnection();
|
||||
|
||||
$originalDatabaseUrl = $this->getTestClient()->getContainer()->getParameter('env(DATABASE_URL)');
|
||||
$originalDatabaseUrl = $this->getTestClient()->getContainer()->getParameter('database_url');
|
||||
$dbnameSuffix = $this->getTestClient()->getContainer()->getParameter('wallabag_dbname_suffix');
|
||||
$tmpDatabaseName = 'wallabag_' . bin2hex(random_bytes(5));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue