aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2023-12-28 17:47:57 +0100
committerHarald Eilertsen <haraldei@anduin.net>2023-12-28 17:47:57 +0100
commit3a24ec80c074f3712b147be03c633ef61e2c1e68 (patch)
treececab054e8916548a325bcaa2d8b6f3ef95c1f48
parente6f23b9857a1bbff6062ccc0884b9c370a04daac (diff)
downloadvolse-hubzilla-3a24ec80c074f3712b147be03c633ef61e2c1e68.tar.gz
volse-hubzilla-3a24ec80c074f3712b147be03c633ef61e2c1e68.tar.bz2
volse-hubzilla-3a24ec80c074f3712b147be03c633ef61e2c1e68.zip
tests: Set proper env vars in phpunit config.
-rw-r--r--tests/phpunit.xml15
1 files changed, 6 insertions, 9 deletions
diff --git a/tests/phpunit.xml b/tests/phpunit.xml
index 035e9c324..e0310ac7f 100644
--- a/tests/phpunit.xml
+++ b/tests/phpunit.xml
@@ -8,15 +8,12 @@
<php>
<includePath>..</includePath>
- <var name="db_dsn" value="mysql:dbname=gitlab_ci_hubzilla;host=mysql"/>
- <var name="db_username" value="root"/>
- <var name="db_password" value="mysql"/>
- <env name="hz_db_server" value="mysql"/>
- <env name="hz_db_scheme" value="mysql"/>
- <env name="hz_db_port" value=""/>
- <env name="hz_db_user" value="root"/>
- <env name="hz_db_pass" value="mysql"/>
- <env name="hz_db_database" value="hello_world_test"/>
+ <env name="HZ_TEST_DB_HOST" value="db"/>
+ <env name="HZ_TEST_DB_TYPE" value="postgres"/>
+ <env name="HZ_TEST_DB_PORT" value=""/>
+ <env name="HZ_TEST_DB_USER" value="test_user"/>
+ <env name="HZ_TEST_DB_PASS" value="hubzilla"/>
+ <env name="HZ_TEST_DB_DATAbase" value="hubzilla_test_db"/>
</php>
<testsuites>
<testsuite name="Hubzilla default Test Suite">