Skip to content

Commit acd39d3

Browse files
committed
Fix for a onDuplicate testcase
1 parent bd30f30 commit acd39d3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/mysqliDbTests.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ function createTable ($name, $data) {
191191
);
192192
$updateColumns = Array ("updatedAt");
193193
$insertLastId = "id";
194+
sleep(1);
194195
$db->onDuplicate($updateColumns, "id");
195196
$db->insert("users", $user);
196197
$nUser = $db->where('login','user3')->get('users');

0 commit comments

Comments
 (0)