From 68f220651ae84f50d6e7678b75cf37f547a1152d Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Tue, 6 Jan 2015 18:49:51 +1300 Subject: [PATCH] Enabled tests for segments #6753 --- tests/PHPUnit/System/ArchiveCronTest.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/PHPUnit/System/ArchiveCronTest.php b/tests/PHPUnit/System/ArchiveCronTest.php index ea1296e5bc..64bf611b71 100644 --- a/tests/PHPUnit/System/ArchiveCronTest.php +++ b/tests/PHPUnit/System/ArchiveCronTest.php @@ -34,10 +34,6 @@ class ArchiveCronTest extends SystemTestCase { $results = array(); - // First, API calls for Segmented reports - // Disabling these tests as they randomly fail... This could actually be a bug. - // FIXME - I have failed finding the cause for these test to randomly fail - // eg. foreach (self::$fixture->getDefaultSegments() as $segmentName => $info) { $results[] = array('VisitsSummary.get', array('idSite' => 'all', 'date' => '2012-08-09', @@ -49,7 +45,6 @@ class ArchiveCronTest extends SystemTestCase } // API Call Without segments - // TODO uncomment week and year period $results[] = array('VisitsSummary.get', array('idSite' => 'all', 'date' => '2012-08-09', 'periods' => array('day', 'month', 'year', 'week'))); @@ -64,9 +59,6 @@ class ArchiveCronTest extends SystemTestCase ManySitesImportedLogs::SEGMENT_PRE_ARCHIVED_CONTAINS_ENCODED ); foreach($segments as $segment) { - // TODO debugging travis - continue; - // Test with a pre-processed segment $results[] = array(array('VisitsSummary.get', 'Live.getLastVisitsDetails', 'VisitFrequency.get'), array('idSite' => '1', -- GitLab