mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 09:54:03 +00:00
Update tests/Pest/FaviconTest.php
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
parent
7b2fdccd69
commit
72d148a072
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ test("it should throw an exception if the given source icon doesn't exist", func
|
||||||
seo()->favicon('i-dont-exist.png');
|
seo()->favicon('i-dont-exist.png');
|
||||||
})->throws(Exception::class, 'Given icon path `i-dont-exist.png` does not exist.');
|
})->throws(Exception::class, 'Given icon path `i-dont-exist.png` does not exist.');
|
||||||
|
|
||||||
test('it should generate two favicons', function() {
|
test('it should generate two favicons', function () {
|
||||||
seo()->favicon(__DIR__ . '/../stubs/logo.png');
|
seo()->favicon(__DIR__ . '/../stubs/logo.png');
|
||||||
|
|
||||||
assertFileExists(public_path('favicon.ico'));
|
assertFileExists(public_path('favicon.ico'));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue