Commit Graph

10 Commits

Author SHA1 Message Date
Hypolite Petovan 40d911c284 Use correct App mode to disable logging
- Restore normal mode after DBStructure update
- Improve error message in case of missing DB connection
2018-07-03 21:24:16 -04:00
Hypolite Petovan 125f7beb63 Add creation/deletion of separate .htconfig.php used for tests 2018-07-03 21:22:50 -04:00
Hypolite Petovan eaa3e4d157 Use MYSQL_* environment variables for tests
- Prevent `.htconfig.php` override when present during tests.
2018-07-03 08:26:44 -04:00
Hypolite Petovan 4752ea1374 Add .htconfig.php in test setUp 2018-07-03 00:02:02 -04:00
Hypolite Petovan 9cce1f70f9 Add .htconfig.php in test setUp 2018-07-02 23:10:33 -04:00
Pierre Rudloff e7fceb8e61 Make DatabaseTest::getConnection() return the correct database name to PHPUnit 2018-05-16 13:15:28 +02:00
Pierre Rudloff f3ca3b2bd5 Add some explanation in DatabaseTest::getConnection() 2018-05-16 13:14:50 +02:00
Pierre Rudloff f7064be41f Remove useless line breaks in DatabaseTest 2018-05-16 13:09:05 +02:00
Pierre Rudloff 5ece452a32 Remove unused class import in DatabaseTest 2018-05-16 13:08:17 +02:00
Pierre Rudloff 3195d6e125 Add API tests 2018-05-10 19:12:00 +02:00