diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-26 22:16:35 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-26 22:16:35 +0200 |
commit | eb22d544c4ea1993fcbdad0404ce9ec65d0410be (patch) | |
tree | 4bc2202f509aad267c30516012e7e90021d2ab65 /tests/codeigniter/database | |
parent | de6eff04445aeff78ad2e1bbdf7f6f1687653e3e (diff) |
Fix get_where() test
Diffstat (limited to 'tests/codeigniter/database')
-rw-r--r-- | tests/codeigniter/database/query_builder/get_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/database/query_builder/get_test.php b/tests/codeigniter/database/query_builder/get_test.php index 699d2906a..156027537 100644 --- a/tests/codeigniter/database/query_builder/get_test.php +++ b/tests/codeigniter/database/query_builder/get_test.php @@ -41,7 +41,7 @@ class Get_test extends CI_TestCase { */ public function test_get_where() { - $job1 = $this->db->get('job', array('id' => 1))->result_array(); + $job1 = $this->db->get_where('job', array('id' => 1))->result_array(); // Dummy jobs contain 1 rows $this->assertCount(1, $job1); |