summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-23 00:24:11 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-23 00:24:11 +0200
commit348bd1e2623ae13ef0dc576464d98eb3673ef15a (patch)
treeeeef198f7a2ab2fcfeba07741c652a2ebfc93131 /tests/codeigniter
parent96a4ca6605d6a8a94eea96ed00ab1cf31a8cdd35 (diff)
Fix a mock db entry
Diffstat (limited to 'tests/codeigniter')
-rw-r--r--tests/codeigniter/database/query_builder/like_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codeigniter/database/query_builder/like_test.php b/tests/codeigniter/database/query_builder/like_test.php
index 20ce5d99c..2736fbe0b 100644
--- a/tests/codeigniter/database/query_builder/like_test.php
+++ b/tests/codeigniter/database/query_builder/like_test.php
@@ -96,8 +96,8 @@ class Like_test extends CI_TestCase {
*/
public function test_like_spaces_and_tabs()
{
- $spaces = $this->db->like('key', ' ')->get('misc')->result_array();
- $tabs = $this->db->like('key', "\t")->get('misc')->result_array();
+ $spaces = $this->db->like('value', ' ')->get('misc')->result_array();
+ $tabs = $this->db->like('value', "\t")->get('misc')->result_array();
$this->assertEquals(1, count($spaces));
$this->assertEquals(1, count($tabs));