diff options
author | diosmosis <benaka@piwik.pro> | 2015-06-24 18:41:27 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-06-24 18:41:39 +0300 |
commit | 444712509c614f92cdd5a62a079ac3405c611a4b (patch) | |
tree | 4474078af92103e2b7e526587acd168f4a8c7432 /tests/PHPUnit/Framework/Fixture.php | |
parent | 3ff19009c9944836e491a74853e83b4a5c610636 (diff) |
Install and activate plugins during tests after 'updating' the database.
Diffstat (limited to 'tests/PHPUnit/Framework/Fixture.php')
-rw-r--r-- | tests/PHPUnit/Framework/Fixture.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/Framework/Fixture.php b/tests/PHPUnit/Framework/Fixture.php index a8ccc33806..4cb80ad022 100644 --- a/tests/PHPUnit/Framework/Fixture.php +++ b/tests/PHPUnit/Framework/Fixture.php @@ -241,10 +241,10 @@ class Fixture extends \PHPUnit_Framework_Assert static::loadAllPlugins($this->getTestEnvironment(), $this->testCaseClass, $this->extraPluginsToLoad); - self::installAndActivatePlugins(); - self::updateDatabase(); + self::installAndActivatePlugins(); + $_GET = $_REQUEST = array(); $_SERVER['HTTP_REFERER'] = ''; |