Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-06-24 18:41:27 +0300
committerdiosmosis <benaka@piwik.pro>2015-06-24 18:41:39 +0300
commit444712509c614f92cdd5a62a079ac3405c611a4b (patch)
tree4474078af92103e2b7e526587acd168f4a8c7432 /tests/PHPUnit/Framework/Fixture.php
parent3ff19009c9944836e491a74853e83b4a5c610636 (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.php4
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'] = '';