Skip to content

Commit 5161b2a

Browse files
committed
remove apropriate tests
1 parent 4c4f430 commit 5161b2a

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

tests/FaviconExtractorTest.php

-27
Original file line numberDiff line numberDiff line change
@@ -47,33 +47,6 @@ protected function setUp()
4747
parent::setUp();
4848
}
4949

50-
public function test_it_accepts_a_valid_url()
51-
{
52-
$extractor = $this->extractor->fromUrl($expectedUrl = 'https://example.com');
53-
54-
$this->assertInstanceOf(FaviconExtractor::class, $extractor);
55-
$this->assertSame($expectedUrl, $extractor->getUrl());
56-
}
57-
58-
public function provideInvalidUrls()
59-
{
60-
return [
61-
'Missing protocol' => ['example.com'],
62-
'Invalid protocol' => ['ftp://example.com'],
63-
'Missing tld' => ['http://example'],
64-
];
65-
}
66-
67-
/**
68-
* @dataProvider provideInvalidUrls
69-
*/
70-
public function test_it_does_not_accept_an_invalid_url(string $url)
71-
{
72-
$this->expectException(InvalidUrlException::class);
73-
74-
$this->extractor->fromUrl($url);
75-
}
76-
7750
public function test_it_fetches_the_favicon()
7851
{
7952
$expectedUrl = 'http://example.com';

0 commit comments

Comments
 (0)