diff options
author | Taufan Aditya <toopay@taufanaditya.com> | 2012-05-25 02:17:26 +0200 |
---|---|---|
committer | Taufan Aditya <toopay@taufanaditya.com> | 2012-05-25 02:17:26 +0200 |
commit | 3c5abf93d3031064c8181069cfee83ebfb54dcf0 (patch) | |
tree | 9af184c369a183d88c79b60c5d5e1cd48280506c /tests/codeigniter | |
parent | 64ccbd75b6725abc4770e0911a2af0f8d5bf7e6d (diff) |
Clean up
Diffstat (limited to 'tests/codeigniter')
-rw-r--r-- | tests/codeigniter/database/query_builder/escape_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codeigniter/database/query_builder/escape_test.php b/tests/codeigniter/database/query_builder/escape_test.php index fe225436a..5df812ca6 100644 --- a/tests/codeigniter/database/query_builder/escape_test.php +++ b/tests/codeigniter/database/query_builder/escape_test.php @@ -32,7 +32,7 @@ class Escape_test extends CI_TestCase { $res = $this->db->query($sql)->result_array(); // Check the result - $this->assertEquals(1, count($res->result_array())); + $this->assertEquals(1, count($res)); } // ------------------------------------------------------------------------ @@ -49,7 +49,7 @@ class Escape_test extends CI_TestCase { $res = $this->db->query($sql)->result_array(); // Check the result - $this->assertEquals(2, count($res->result_array())); + $this->assertEquals(2, count($res)); } }
\ No newline at end of file |