Skip to content

Commit d5d6367

Browse files
committed
fi namespaced function
1 parent fcbe9cc commit d5d6367

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

tests/GlobalTypesTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Astrotomic\OpenGraph\Types\Book;
77
use Astrotomic\OpenGraph\Types\Profile;
88
use Astrotomic\OpenGraph\Types\Website;
9+
use function Spatie\Snapshots\{assertMatchesHtmlSnapshot};
910

1011
it('can generate website tags', function () {
1112
$og = Website::make('Title | Example')

tests/MusicTypesTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
use Astrotomic\OpenGraph\Types\Music\Playlist;
55
use Astrotomic\OpenGraph\Types\Music\RadioStation;
66
use Astrotomic\OpenGraph\Types\Music\Song;
7+
use function Spatie\Snapshots\{assertMatchesHtmlSnapshot};
78

89
it('can generate song tags', function () {
910
$og = Song::make('Title | Example')

tests/TwitterTypesTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
use Astrotomic\OpenGraph\Types\Twitter\Player;
44
use Astrotomic\OpenGraph\Types\Twitter\Summary;
55
use Astrotomic\OpenGraph\Types\Twitter\SummaryLargeImage;
6+
use function Spatie\Snapshots\{assertMatchesHtmlSnapshot};
67

78
it('can generate summary tags', function () {
89
$og = Summary::make('Title | Example')

tests/VideoTypesTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Astrotomic\OpenGraph\Types\Video\Movie;
77
use Astrotomic\OpenGraph\Types\Video\Other;
88
use Astrotomic\OpenGraph\Types\Video\TvShow;
9+
use function Spatie\Snapshots\{assertMatchesHtmlSnapshot};
910

1011
it('can generate movie tags', function () {
1112
$og = Movie::make('Title | Example')

0 commit comments

Comments
 (0)