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:
mariano.iglesias 2008-01-02 01:51:19 +00:00
parent aa32649c02
commit 4c89941287

View file

@ -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() {