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-03-17 03:53:49 +0300
committerdiosmosis <benaka@piwik.pro>2015-03-17 03:53:49 +0300
commitf68c136917a0c976d4c8d8642a661009361013a1 (patch)
tree1b5b42da0c8108c87fff17038d9d24df9059bad9 /plugins
parentf087215fbe005e8185bba987d4f306277c88e505 (diff)
Fixing travis build (hopefully).
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreUpdater/tests/Integration/Commands/UpdateTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/CoreUpdater/tests/Integration/Commands/UpdateTest.php b/plugins/CoreUpdater/tests/Integration/Commands/UpdateTest.php
index bbcd236cb2..a3c97d86d8 100644
--- a/plugins/CoreUpdater/tests/Integration/Commands/UpdateTest.php
+++ b/plugins/CoreUpdater/tests/Integration/Commands/UpdateTest.php
@@ -12,11 +12,15 @@ use Piwik\Config;
use Piwik\DataAccess\ArchiveTableCreator;
use Piwik\Date;
use Piwik\Db;
+use Piwik\DbHelper;
use Piwik\Option;
use Piwik\Tests\Framework\TestCase\ConsoleCommandTestCase;
+use Piwik\Updates\Updates_2_10_0_b5;
use Piwik\Version;
use Symfony\Component\Console\Helper\QuestionHelper;
+require_once PIWIK_INCLUDE_PATH . '/core/Updates/2.10.0-b5.php';
+
/**
* @group CoreUpdater
* @group CoreUpdater_Integration
@@ -39,6 +43,8 @@ class UpdateTest extends ConsoleCommandTestCase
$_SERVER['SCRIPT_NAME'] = $_SERVER['SCRIPT_NAME'] . " console"; // update won't execute w/o this, see Common::isRunningConsoleCommand()
ArchiveTableCreator::clear();
+ DbHelper::getTablesInstalled($forceReload = true); // force reload so internal cache in Mysql.php is refreshed
+ Updates_2_10_0_b5::$archiveBlobTables = null;
}
public function tearDown()