diff options
author | diosmosis <benaka@piwik.pro> | 2014-11-04 21:55:41 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-11-04 21:56:08 +0300 |
commit | 548a33d380bf51cd9e36cd41701368f66de2e94c (patch) | |
tree | 53beaef1d532190b087e4ff9ab180f14654f9a2f /tests/PHPUnit/Framework/TestCase | |
parent | 7bf5c796d7255291d499aae1b95a543305729bc7 (diff) |
Allow UI tests to delete archiving tables.
Diffstat (limited to 'tests/PHPUnit/Framework/TestCase')
-rwxr-xr-x | tests/PHPUnit/Framework/TestCase/SystemTestCase.php | 8 |
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() |