Permalink
Browse files

Adding tests for non .com domains. Refs #605

  • Loading branch information...
1 parent 6033fc7 commit a92b9000bfd7a611e90242994ca92f9a21bb8f84 @markstory markstory committed Apr 23, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 cake/tests/cases/libs/validation.test.php
@@ -1877,6 +1877,8 @@ function testUrl() {
$this->assertTrue(Validation::url('http://www.cakephp.org', true));
$this->assertTrue(Validation::url('http://example.com/~userdir/'));
$this->assertTrue(Validation::url('http://example.com/~userdir/subdir/index.html'));
+ $this->assertTrue(Validation::url('http://www.zwischenraume.de'));
+ $this->assertTrue(Validation::url('http://www.zwischenraume.cz'));
$this->assertTrue(Validation::url('http://cakephp.org:80'));
$this->assertTrue(Validation::url('http://cakephp.org:443'));

0 comments on commit a92b900

Please sign in to comment.