Run unit tests across different database backends + fix bugs

This commit is contained in:
Frédéric Guillot
2014-09-15 22:35:56 +02:00
parent 5f962bf4cd
commit e1ddf7f012
28 changed files with 536 additions and 441 deletions

12
tests/units.postgres.xml Normal file
View File

@@ -0,0 +1,12 @@
<phpunit>
<testsuites>
<testsuite name="Kanboard">
<directory>units</directory>
</testsuite>
</testsuites>
<php>
<const name="DB_DRIVER" value="postgres" />
<const name="DB_USERNAME" value="postgres" />
<const name="DB_NAME" value="kanboard_unit_test" />
</php>
</phpunit>