mirror of
https://github.com/dg/dibi.git
synced 2025-08-30 09:19:48 +02:00
used PHP 5.4 syntax
This commit is contained in:
@@ -12,9 +12,9 @@ $conn = new DibiConnection($config);
|
||||
$conn->loadFile(__DIR__ . "/data/$config[system].sql");
|
||||
|
||||
|
||||
$conn->query('INSERT INTO products', array(
|
||||
$conn->query('INSERT INTO products', [
|
||||
'title' => 'Test product',
|
||||
));
|
||||
]);
|
||||
Assert::same(1, $conn->getAffectedRows());
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user