diff options
-rwxr-xr-x | tests/PHPUnit/System/TwoVisitsWithCustomVariablesSegmentMatchVisitorTypeTest.php | 3 | ||||
-rw-r--r-- | tests/PHPUnit/System/VisitsInPastInvalidateOldReportsTest.php | 3 |
2 files changed, 5 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"); } diff --git a/tests/PHPUnit/System/VisitsInPastInvalidateOldReportsTest.php b/tests/PHPUnit/System/VisitsInPastInvalidateOldReportsTest.php index 15149f0ec5..859eda1646 100644 --- a/tests/PHPUnit/System/VisitsInPastInvalidateOldReportsTest.php +++ b/tests/PHPUnit/System/VisitsInPastInvalidateOldReportsTest.php @@ -22,6 +22,9 @@ use Exception; */ class VisitsInPastInvalidateOldReportsTest extends SystemTestCase { + /** + * @var TwoSitesVisitsInPast + */ public static $fixture = null; // initialized below class definition /** |