diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2016-03-10 00:55:45 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2016-04-11 05:11:33 +0300 |
commit | b52ae4e7e488e0474d67c54578e1d6c1aa066bff (patch) | |
tree | f94b02f774cbc24faaa18f29ee1e19fef8b338af /tests/PHPUnit/Framework/Fixture.php | |
parent | 6ba622a68a26792af8cc22131f488f7ff5189d2c (diff) |
refs #7983 let plugins add or remove fields to websites and better settings api
Diffstat (limited to 'tests/PHPUnit/Framework/Fixture.php')
-rw-r--r-- | tests/PHPUnit/Framework/Fixture.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PHPUnit/Framework/Fixture.php b/tests/PHPUnit/Framework/Fixture.php index 9ef26bbb67..736ffad5fe 100644 --- a/tests/PHPUnit/Framework/Fixture.php +++ b/tests/PHPUnit/Framework/Fixture.php @@ -342,6 +342,7 @@ class Fixture extends \PHPUnit_Framework_Assert self::unloadAllPlugins(); + if ($this->dropDatabaseInTearDown) { $this->dropDatabase(); } @@ -368,6 +369,7 @@ class Fixture extends \PHPUnit_Framework_Assert Singleton::clearAll(); PluginsArchiver::$archivers = array(); + Plugin\API::unsetAllInstances(); $_GET = $_REQUEST = array(); Translate::reset(); |