summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoffrey Jaffeux <j.jaffeux@gmail.com>2012-06-06 20:14:13 +0200
committerJoffrey Jaffeux <j.jaffeux@gmail.com>2012-06-06 20:14:13 +0200
commit1ab6f6520ebfc016c49cfbe3a4d9d009be5da268 (patch)
tree341443396a38e4e96d7fd08973e3b10bde9c8047 /tests
parent70b5d3b4eb74ad27da7eac29ef5d349be944ba15 (diff)
removed ip_version()
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/core/Input_test.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/codeigniter/core/Input_test.php b/tests/codeigniter/core/Input_test.php
index 3682d308d..c9322c027 100644
--- a/tests/codeigniter/core/Input_test.php
+++ b/tests/codeigniter/core/Input_test.php
@@ -158,18 +158,4 @@ class Input_test extends CI_TestCase {
}
}
- // --------------------------------------------------------------------
-
- public function test_ip_version()
- {
- $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');
- foreach($ip_v6 as $ip)
- {
- $this->assertEquals(6, $this->input->ip_version($ip));
- }
- }
-
} \ No newline at end of file