diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CoreUpdater/tests/Integration/Commands/UpdateTest.php | 6 |
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() |