Change configuration to use environment variables instead of globals.
This commit is contained in:
+5
-5
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user