Corrected testIsValidUrl
This commit is contained in:
parent
cf1a2c44a3
commit
a6275181ec
@ -150,7 +150,7 @@ class Functions2LibTest extends PHPUnit_Framework_TestCase
|
|||||||
$result = isValidUrl('http://google.com');
|
$result = isValidUrl('http://google.com');
|
||||||
$this->assertEquals($result, 1);
|
$this->assertEquals($result, 1);
|
||||||
|
|
||||||
$result = isValidUrl('google');
|
$result = isValidUrl('gooçgle');
|
||||||
$this->assertEquals($result, 0);
|
$this->assertEquals($result, 0);
|
||||||
|
|
||||||
//With scheme check
|
//With scheme check
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user