From 46a67d33388b4b79397f8f48ab39fcc2fdf8ea73 Mon Sep 17 00:00:00 2001 From: Heesung Ahn Date: Fri, 20 Mar 2015 09:22:01 -0400 Subject: updated based on comment Signed-off-by:Heesung Ahn --- tests/codeigniter/core/Input_test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/codeigniter/core') diff --git a/tests/codeigniter/core/Input_test.php b/tests/codeigniter/core/Input_test.php index e6122cabc..d644d7fc7 100644 --- a/tests/codeigniter/core/Input_test.php +++ b/tests/codeigniter/core/Input_test.php @@ -217,8 +217,8 @@ class Input_test extends CI_TestCase { public function test_ip_address() { - $this->input->ip_address = TRUE; - $this->assertTrue($this->input->ip_address()); + $this->input->ip_address = '127.0.0.1'; + $this->assertEquals('127.0.0.1', $this->input->ip_address()); // 127.0.0.1 is set in our Bootstrap file $this->input->ip_address = FALSE; -- cgit v1.2.3-24-g4f1b