Avoid database error because of duplicated entries
This commit is contained in:
parent
89b47afb09
commit
29f99c134d
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ trait DatabaseTestTrait
|
|||
}
|
||||
|
||||
foreach ($rows as $row) {
|
||||
$dba->insert($tableName, $row);
|
||||
$dba->insert($tableName, $row, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue