summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/database/query_builder/insert_test.php
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-04-06 22:19:35 +0200
committerTaufan Aditya <toopay@taufanaditya.com>2012-04-06 22:19:35 +0200
commit5ce26c912f11fb859e661a43a6667fba5a5a3ca2 (patch)
tree09b723f66d88ae0fe7956532292ee47a2d1021f5 /tests/codeigniter/database/query_builder/insert_test.php
parentd489747059db6a91d5532f35437a812a81f2b98b (diff)
Typo
Diffstat (limited to 'tests/codeigniter/database/query_builder/insert_test.php')
-rw-r--r--tests/codeigniter/database/query_builder/insert_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/database/query_builder/insert_test.php b/tests/codeigniter/database/query_builder/insert_test.php
index b86feeb74..53ce23c19 100644
--- a/tests/codeigniter/database/query_builder/insert_test.php
+++ b/tests/codeigniter/database/query_builder/insert_test.php
@@ -53,7 +53,7 @@ class Insert_test extends CI_TestCase {
// Do insert batch except for sqlite driver
if (strpos(DB_DRIVER, 'sqlite') === FALSE)
{
- $this->assertTrue($this->db->insert('job', $job_datas[0]));
+ $this->assertTrue($this->db->insert_batch('job', $job_datas));
$job_2 = $this->db->where('id', 2)->get('job')->row();
$job_3 = $this->db->where('id', 3)->get('job')->row();