Change configuration to use environment variables instead of globals.

This commit is contained in:
Austen McDonald
2016-05-21 13:43:36 -07:00
parent 01cc817913
commit 8251e22784
4 changed files with 40 additions and 8 deletions
+5 -5
View File
@@ -1,13 +1,13 @@
<phpunit bootstrap="bootstrap/bootstrap.php">
<php>
<var name="DB_DSN" value="sqlite::memory:" />
<var name="DB_USER" value="root" />
<var name="DB_PASSWORD" value="" />
<var name="DB_NAME" value="daenerys" />
<env name="DB_DSN" value="sqlite::memory:" />
<env name="DB_USER" value="root" />
<env name="DB_PASSWORD" value="" />
<env name="DB_NAME" value="daenerys" />
</php>
<testsuites>
<testsuite name="All">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>
</phpunit>