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:
Diffstat (limited to 'tests/config_test.php')
-rw-r--r--tests/config_test.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/config_test.php b/tests/config_test.php
index 1251637339..c6269e344c 100644
--- a/tests/config_test.php
+++ b/tests/config_test.php
@@ -20,16 +20,16 @@ if(!defined('PIWIK_INCLUDE_SEARCH_PATH'))
}
@ini_set('include_path', PIWIK_INCLUDE_SEARCH_PATH);
@set_include_path(PIWIK_INCLUDE_SEARCH_PATH);
-
+@ini_set('memory_limit', -1);
+require_once PIWIK_INCLUDE_PATH .'/libs/upgradephp/upgrade.php';
require_once PIWIK_INCLUDE_PATH .'/core/Loader.php';
require_once 'simpletest/autorun.php';
require_once 'simpletest/mock_objects.php';
-SimpleTest :: prefer(new HtmlReporter());
+SimpleTest::prefer(new HtmlReporter());
error_reporting(E_ALL|E_NOTICE);
-//@date_default_timezone_set('Europe/London');
-@date_default_timezone_set('America/Toronto');
+@date_default_timezone_set('UTC');
require_once PIWIK_INCLUDE_PATH .'/libs/Zend/Exception.php';
require_once PIWIK_INCLUDE_PATH .'/libs/Zend/Loader.php';
@@ -43,6 +43,11 @@ function dump($var)
print("</pre>");
}
+function printDebug($text)
+{
+ return;
+}
+
require_once PIWIK_INCLUDE_PATH .'/libs/Zend/Registry.php';
require_once PIWIK_INCLUDE_PATH .'/libs/Zend/Config/Ini.php';
require_once PIWIK_INCLUDE_PATH .'/libs/Zend/Config.php';