diff options
author | Andrey Andreev <narf@devilix.net> | 2019-05-10 19:29:48 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2019-05-10 19:29:48 +0200 |
commit | 80c20dcfded0df95457acf5cd9b437d2a268bc85 (patch) | |
tree | 01f94158d211a0ac224e7bcbeb1163d8c5c23017 /tests/codeigniter/libraries | |
parent | e3d22a2227f995746ee138218d385a7156d3f827 (diff) |
[ci skip] Fix #5755
Diffstat (limited to 'tests/codeigniter/libraries')
-rw-r--r-- | tests/codeigniter/libraries/Form_validation_test.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/codeigniter/libraries/Form_validation_test.php b/tests/codeigniter/libraries/Form_validation_test.php index 3280f5bd8..6872b3abd 100644 --- a/tests/codeigniter/libraries/Form_validation_test.php +++ b/tests/codeigniter/libraries/Form_validation_test.php @@ -262,6 +262,9 @@ class Form_validation_test extends CI_TestCase { // URI scheme case-sensitivity: https://github.com/bcit-ci/CodeIgniter/pull/4758 $this->assertTrue($this->form_validation->valid_url('HtTp://127.0.0.1/')); + // https://github.com/bcit-ci/CodeIgniter/issues/5755 + $this->assertFalse($this->form_validation->valid_url('1')); + $this->assertFalse($this->form_validation->valid_url('htt://www.codeIgniter.com')); $this->assertFalse($this->form_validation->valid_url('')); $this->assertFalse($this->form_validation->valid_url('code igniter')); |