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
path: root/tests
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2019-12-31 05:19:21 +0300
committerGitHub <noreply@github.com>2019-12-31 05:19:21 +0300
commitcdf8d6b2a02a4dd24e1f6b719d83cb38bddd79ef (patch)
tree34228908c7e2a7e6c0eb29b37bdec9642f2cdd19 /tests
parent8f33c4d4490b92e77f2293adb4ba3df8e294cb50 (diff)
fix some tests (#15331)
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Integration/Tracker/DbTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/Integration/Tracker/DbTest.php b/tests/PHPUnit/Integration/Tracker/DbTest.php
index b72ffc5191..4d94d34f9c 100644
--- a/tests/PHPUnit/Integration/Tracker/DbTest.php
+++ b/tests/PHPUnit/Integration/Tracker/DbTest.php
@@ -111,7 +111,7 @@ class DbTest extends IntegrationTestCase
{
$db = Tracker::getDatabase();
$val = $db->fetchRow('SELECT option_value from `' . $this->tableName . '` where option_name = "foobar"');
- $this->assertNull($val);
+ $this->assertFalse($val);
}
public function test_fetch()
@@ -128,7 +128,7 @@ class DbTest extends IntegrationTestCase
{
$db = Tracker::getDatabase();
$val = $db->fetch('SELECT option_value from `' . $this->tableName . '` where option_name = "foobar"');
- $this->assertNull($val);
+ $this->assertFalse($val);
}
public function test_fetchAll()