summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter
diff options
context:
space:
mode:
authorJoffrey Jaffeux <j.jaffeux@gmail.com>2012-06-06 18:22:36 +0200
committerJoffrey Jaffeux <j.jaffeux@gmail.com>2012-06-06 18:22:36 +0200
commit70b5d3b4eb74ad27da7eac29ef5d349be944ba15 (patch)
treeba5207278f75980c15cc9aa08a5abbb2b9fb85cd /tests/codeigniter
parent1eb9b127cfb3aef5d89b86a48e35b2f35cd17f81 (diff)
use an ip of the range 192.18.0.0/15
Diffstat (limited to 'tests/codeigniter')
-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 98d6299f8..3682d308d 100644
--- a/tests/codeigniter/core/Input_test.php
+++ b/tests/codeigniter/core/Input_test.php
@@ -148,7 +148,7 @@ class Input_test extends CI_TestCase {
public function test_valid_ip()
{
- $ip_v4 = '175.123.74.43';
+ $ip_v4 = '192.18.0.1';
$this->assertTrue($this->input->valid_ip($ip_v4));
$ip_v6 = array('2001:0db8:0000:85a3:0000:0000:ac1f:8001', '2001:db8:0:85a3:0:0:ac1f:8001', '2001:db8:0:85a3::ac1f:8001');
@@ -162,7 +162,7 @@ class Input_test extends CI_TestCase {
public function test_ip_version()
{
- $ip_v4 = '175.123.74.43';
+ $ip_v4 = '192.18.0.1';
$this->assertEquals(4, $this->input->ip_version($ip_v4));
$ip_v6 = array('2001:0db8:0000:85a3:0000:0000:ac1f:8001', '2001:db8:0:85a3:0:0:ac1f:8001', '2001:db8:0:85a3::ac1f:8001');