]> git.mxchange.org Git - friendica.git/commitdiff
Avoid database error because of duplicated entries
authorMichael <heluecht@pirati.ca>
Fri, 15 May 2020 15:50:02 +0000 (15:50 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 15 May 2020 15:50:02 +0000 (15:50 +0000)
tests/DatabaseTestTrait.php

index 2b829e51ee3f9862a45a3cca32249fdec3667e5f..d8a5c165a4f99f09042d4186180d7f5f9a3c3dc6 100644 (file)
@@ -71,7 +71,7 @@ trait DatabaseTestTrait
                        }
 
                        foreach ($rows as $row) {
-                               $dba->insert($tableName, $row);
+                               $dba->insert($tableName, $row, true);
                        }
                }
        }