Make it little bit less likely to erase a real database.

Changed the default PHPUnit database environment variables to make it
little bit less likely to truncate accidently a real database.
This commit is contained in:
Klaus Weidenbach
2018-01-29 21:14:03 +01:00
parent 4bf0c9e36a
commit 210c91398d
4 changed files with 23 additions and 21 deletions

View File

@@ -33,13 +33,14 @@
<log type="testdox-text" target="./results/testdox.txt"/>
</logging>
<php>
<!-- default test database config, only used if no environment variables
with same name set -->
<!-- Default test database config, only used if no environment variables
with same names are set.
!!! Never run against a real database, it will truncate all tables -->
<env name="hz_db_server" value="127.0.0.1"/>
<env name="hz_db_scheme" value="pgsql"/>
<env name="hz_db_port" value="5432"/>
<env name="hz_db_user" value="hubzilla"/>
<env name="hz_db_user" value="travis_hz"/>
<env name="hz_db_pass" value="hubzilla"/>
<env name="hz_db_database" value="hubzilla"/>
<env name="hz_db_database" value="travis_hubzilla"/>
</php>
</phpunit>