Use more user-friendly method for dummy create data
diff --git a/tests/mocks/database/schema/skeleton.php b/tests/mocks/database/schema/skeleton.php
index bf9e75b..53df73b 100644
--- a/tests/mocks/database/schema/skeleton.php
+++ b/tests/mocks/database/schema/skeleton.php
@@ -48,17 +48,10 @@
foreach ($data as $table => $dummy_data)
{
$db->truncate($table);
-
- if (strpos(DB_DRIVER, 'sqlite') === FALSE)
+
+ foreach ($dummy_data as $single_dummy_data)
{
- $db->insert_batch($table, $dummy_data);
- }
- else
- {
- foreach ($dummy_data as $single_dummy_data)
- {
- $db->insert($table, $single_dummy_data);
- }
+ $db->insert($table, $single_dummy_data);
}
}
}