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/all_tests.php')
-rwxr-xr-xtests/all_tests.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/all_tests.php b/tests/all_tests.php
index 64399e3314..98d2a9c894 100755
--- a/tests/all_tests.php
+++ b/tests/all_tests.php
@@ -1,21 +1,21 @@
<?php
flush();
-require_once "config_test.php";
+require_once "config_test.php";
Piwik::createConfigObject();
$databaseTestName = Zend_Registry::get('config')->database_tests->dbname;
-Zend_Registry::get('config')->doWriteFileWhenUpdated = false;
-?>
-
-<h2>Piwik unit tests</h2>
-<p>Some of the tests require a database access. The database used for tests is different from your normal Piwik database.
-You may need to create this database ; you can edit the settings for the unit tests database access in your config file
-/config/global.ini.php</p>
-<p><b>The database used in your tests is called "<?php echo $databaseTestName; ?>". Create it if necessary.</b></p>
-<p><a href='modules'>Run the tests by module</a></p>
-<hr>
-
-<?php
+Zend_Registry::get('config')->doWriteFileWhenUpdated = false;
+?>
+
+<h2>Piwik unit tests</h2>
+<p>Some of the tests require a database access. The database used for tests is different from your normal Piwik database.
+You may need to create this database ; you can edit the settings for the unit tests database access in your config file
+/config/global.ini.php</p>
+<p><b>The database used in your tests is called "<?php echo $databaseTestName; ?>". Create it if necessary.</b></p>
+<p><a href='modules'>Run the tests by module</a></p>
+<hr>
+
+<?php
/*
assertTrue($x) Fail if $x is false
assertFalse($x) Fail if $x is true