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/PHPUnit/Integration/DbTest.php')
-rw-r--r--tests/PHPUnit/Integration/DbTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/Integration/DbTest.php b/tests/PHPUnit/Integration/DbTest.php
index 4c276d1eae..81442862a4 100644
--- a/tests/PHPUnit/Integration/DbTest.php
+++ b/tests/PHPUnit/Integration/DbTest.php
@@ -46,8 +46,8 @@ class DbTest extends IntegrationTestCase
PRIMARY KEY (testid)
)");
- Db::query("INSERT INTO `$table` (testvalue) VALUES (?)", ['a' => 4]);
- Db::query("INSERT INTO `$table` (testvalue) VALUES (?)", ['b' => null]);
+ Db::query("INSERT INTO `$table` (testvalue) VALUES (?)", [4]);
+ Db::query("INSERT INTO `$table` (testvalue) VALUES (?)", [null]);
$values = Db::fetchAll("SELECT testid, testvalue FROM `$table`");