summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/database
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codeigniter/database')
-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));