mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
adding test case to address #4747
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7032 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
f7d07012dd
commit
fdc26e38aa
1 changed files with 2 additions and 1 deletions
|
@ -1327,7 +1327,8 @@ class ValidationTestCase extends UnitTestCase {
|
|||
$this->assertFalse(Validation::url('http://www.domain.longttldnotallowed'));
|
||||
$this->assertFalse(Validation::url('http://www.-invaliddomain.tld'));
|
||||
$this->assertFalse(Validation::url('http://www.domain.-invalidtld'));
|
||||
$this->assertFalse(Validation::url('http://www.this-domain-is-just-too-long-and-inacceptable-by-icann-rules-the-maximum-limit-of-characters-is-57.com'));
|
||||
$this->assertTrue(Validation::url('http://123456789112345678921234567893123456789412345678951234567896123.com'));
|
||||
$this->assertFalse(Validation::url('http://this-domain-is-too-loooooong-by-icann-rules-maximum-length-is-63.com'));
|
||||
$this->assertTrue(Validation::url('http://www.domain.com/blogs/index.php?blog=6&tempskin=_rss2'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue