summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeesung Ahn <ahn.heesung@gmail.com>2015-03-20 14:22:01 +0100
committerHeesung Ahn <ahn.heesung@gmail.com>2015-03-20 14:22:01 +0100
commit46a67d33388b4b79397f8f48ab39fcc2fdf8ea73 (patch)
treec5db91b1a5a278faa656fb9299ceb509ba49ec3f
parent78978b2a53692ebf8070d1cb96ad4c1609e12329 (diff)
updated based on comment
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
-rw-r--r--tests/codeigniter/core/Input_test.php4
1 files changed, 2 insertions, 2 deletions
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;