updated based on comment
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
diff --git a/tests/codeigniter/core/Input_test.php b/tests/codeigniter/core/Input_test.php
index e6122ca..d644d7f 100644
--- a/tests/codeigniter/core/Input_test.php
+++ b/tests/codeigniter/core/Input_test.php
@@ -217,8 +217,8 @@
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;