Skip to content
This repository
Browse code

Adding tests for non .com domains. Refs #605

  • Loading branch information...
commit a92b9000bfd7a611e90242994ca92f9a21bb8f84 1 parent 6033fc7
Mark Story authored April 22, 2010

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  cake/tests/cases/libs/validation.test.php
2  cake/tests/cases/libs/validation.test.php
@@ -1877,6 +1877,8 @@ function testUrl() {
1877 1877
 		$this->assertTrue(Validation::url('http://www.cakephp.org', true));
1878 1878
 		$this->assertTrue(Validation::url('http://example.com/~userdir/'));
1879 1879
 		$this->assertTrue(Validation::url('http://example.com/~userdir/subdir/index.html'));
  1880
+		$this->assertTrue(Validation::url('http://www.zwischenraume.de'));
  1881
+		$this->assertTrue(Validation::url('http://www.zwischenraume.cz'));
1880 1882
 
1881 1883
 		$this->assertTrue(Validation::url('http://cakephp.org:80'));
1882 1884
 		$this->assertTrue(Validation::url('http://cakephp.org:443'));

0 notes on commit a92b900

Please sign in to comment.
Something went wrong with that request. Please try again.