Skip to content

Commit

Permalink
new test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Sooraj-s-98 committed Oct 5, 2022
1 parent 91f1612 commit 62f6392
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/Network/Validators/URLTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function testIsValidAllowedSchemes(): void
$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'));
}
}

0 comments on commit 62f6392

Please sign in to comment.