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:
authorThomas Steur <thomas.steur@googlemail.com>2014-12-22 03:14:06 +0300
committerThomas Steur <thomas.steur@googlemail.com>2014-12-22 03:14:06 +0300
commite71f461adfd03b40504243104944fe6b70c79980 (patch)
treec991b7375e763d708fbaa437e97520ccec67f1a8 /tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchVisitorTypeTest.php
parent15dbbdfb9f5ffb2877abc30634f56820740129da (diff)
it took me a long time to figure out where something was printed in the middle of any test...
Diffstat (limited to 'tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchVisitorTypeTest.php')
-rwxr-xr-xtests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchVisitorTypeTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchVisitorTypeTest.php b/tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchVisitorTypeTest.php
index a6ba72de3d..f8d3ab4f15 100755
--- a/tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchVisitorTypeTest.php
+++ b/tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchVisitorTypeTest.php
@@ -97,7 +97,8 @@ class TwoVisitsWithCustomVariablesSegmentMatchVisitorTypeTest extends SystemTest
$countBlobs = Db::get()->fetchOne($sql);
if($expectedRows != $countBlobs) {
- var_export(Db::get()->fetchAll("SELECT * FROM " . Common::prefixTable($table) . " ORDER BY name, idarchive ASC"));
+ $output = Db::get()->fetchAll("SELECT * FROM " . Common::prefixTable($table) . " ORDER BY name, idarchive ASC");
+ var_export('This is debug output from ' . __CLASS__ . ' in case of an error: ' . $output);
}
$this->assertEquals($expectedRows, $countBlobs, "$table: %s");
}