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>2014-11-04 21:55:41 +0300
committerdiosmosis <benaka@piwik.pro>2014-11-04 21:56:08 +0300
commit548a33d380bf51cd9e36cd41701368f66de2e94c (patch)
tree53beaef1d532190b087e4ff9ab180f14654f9a2f /tests/PHPUnit/Framework/TestCase
parent7bf5c796d7255291d499aae1b95a543305729bc7 (diff)
Allow UI tests to delete archiving tables.
Diffstat (limited to 'tests/PHPUnit/Framework/TestCase')
-rwxr-xr-xtests/PHPUnit/Framework/TestCase/SystemTestCase.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
index b515cad839..e153dc5f2f 100755
--- a/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
+++ b/tests/PHPUnit/Framework/TestCase/SystemTestCase.php
@@ -569,13 +569,7 @@ abstract class SystemTestCase extends PHPUnit_Framework_TestCase
*/
public static function deleteArchiveTables()
{
- foreach (ArchiveTableCreator::getTablesArchivesInstalled() as $table) {
- Log::debug("Dropping table $table");
-
- Db::query("DROP TABLE IF EXISTS `$table`");
- }
-
- ArchiveTableCreator::refreshTableList($forceReload = true);
+ DbHelper::deleteArchiveTables();
}
protected function skipWhenPhp53()