1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

new test case

This commit is contained in:
sooraj 2022-10-05 19:40:05 +05:30
parent 91f16121d1
commit 62f63923c1

View file

@ -52,6 +52,7 @@ class URLTest extends TestCase
$this->assertEquals('Value must be a valid URL with following schemes (http, https)', $this->url->getDescription());
$this->assertEquals(true, $this->url->isValid('http://example.com'));
$this->assertEquals(true, $this->url->isValid('https://example.com'));
$this->assertEquals(true, $this->url->isValid('https://exämple.com'));
$this->assertEquals(false, $this->url->isValid('gopher://www.example.com'));
}
}