test: doctrine test database is determinated by DATABASE_TEST_URL env

This commit is contained in:
Ondrej Vlach 2024-08-03 20:44:25 +02:00
parent a043f2e357
commit 6cd3e95e18
No known key found for this signature in database
GPG Key ID: 7F141CDACEDEE2DE

View File

@ -28,8 +28,7 @@ doctrine:
when@test:
doctrine:
dbal:
# "TEST_TOKEN" is typically set by ParaTest
dbname_suffix: '_test%env(default::TEST_TOKEN)%'
url: '%env(resolve:DATABASE_TEST_URL)%'
when@prod:
doctrine: