public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     ArchiveTableCreator::getNumericTable(Date::factory('2015-01-01'));
     ArchiveTableCreator::getNumericTable(Date::factory('2015-02-02'));
     ArchiveTableCreator::getNumericTable(Date::factory('2015-03-03'));
 }
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     Fixture::createWebsite('2012-01-01 00:00:00');
     Fixture::createWebsite('2012-01-01 00:00:00');
     Fixture::createWebsite('2012-01-01 00:00:00');
 }
예제 #3
0
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     // make sure archiving is initiated so there is data in the archive tables
     VisitsSummaryAPI::getInstance()->get(self::$fixture->idSite, 'month', '2010-03-01');
     VisitsSummaryAPI::getInstance()->get(self::$fixture->idSite, 'month', '2010-03-01', 'browserCode==FF');
     VisitsSummaryAPI::getInstance()->get(self::$fixture->idSite, 'month', '2010-03-01', 'daysSinceFirstVisit==2');
 }
예제 #4
0
 public function setUp()
 {
     self::removeTestConfigFile();
     parent::setUp();
 }
예제 #5
0
 public function tearDown()
 {
     $_SERVER['SCRIPT_NAME'] = $this->oldScriptName;
     parent::tearDown();
 }