In case of failure, PHPUnit seems to skip `tearDown`, so any useful assertion messages cannot be shown because `tearDownAfterClass` is throwing an error because of database usage. This commit makes sure we also restore the database in `tearDownAfterClass` to prevent the data root restoration to fail |
||
|---|---|---|
| .. | ||
| acceptance | ||
| apps | ||
| core | ||
| data | ||
| lib | ||
| objectstore | ||
| ocs | ||
| ocs-provider | ||
| settings | ||
| travis | ||
| apps.php | ||
| bootstrap.php | ||
| enable_all.php | ||
| karma.config.js | ||
| phpunit-autotest-external.xml | ||
| phpunit-autotest.xml | ||
| phpunit.xml.dist | ||
| preseed-config.php | ||
| startsessionlistener.php | ||