summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-26 22:16:35 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-26 22:16:35 +0200
commiteb22d544c4ea1993fcbdad0404ce9ec65d0410be (patch)
tree4bc2202f509aad267c30516012e7e90021d2ab65 /tests/codeigniter/database
parentde6eff04445aeff78ad2e1bbdf7f6f1687653e3e (diff)
Fix get_where() test
Diffstat (limited to 'tests/codeigniter/database')
-rw-r--r--tests/codeigniter/database/query_builder/get_test.php2
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);