mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Adding new URL to validation test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6302 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
aa32649c02
commit
4c89941287
1 changed files with 1 additions and 0 deletions
|
@ -1225,6 +1225,7 @@ class ValidationTestCase extends UnitTestCase {
|
|||
$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://www.cricava.com/blogs/index.php?blog=6&tempskin=_rss2'));
|
||||
}
|
||||
|
||||
function testValidNumber() {
|
||||
|
|
Loading…
Add table
Reference in a new issue