File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed
Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 66use Astrotomic \OpenGraph \Types \Book ;
77use Astrotomic \OpenGraph \Types \Profile ;
88use Astrotomic \OpenGraph \Types \Website ;
9+ use function Spatie \Snapshots \{assertMatchesHtmlSnapshot };
910
1011it ('can generate website tags ' , function () {
1112 $ og = Website::make ('Title | Example ' )
Original file line number Diff line number Diff line change 44use Astrotomic \OpenGraph \Types \Music \Playlist ;
55use Astrotomic \OpenGraph \Types \Music \RadioStation ;
66use Astrotomic \OpenGraph \Types \Music \Song ;
7+ use function Spatie \Snapshots \{assertMatchesHtmlSnapshot };
78
89it ('can generate song tags ' , function () {
910 $ og = Song::make ('Title | Example ' )
Original file line number Diff line number Diff line change 33use Astrotomic \OpenGraph \Types \Twitter \Player ;
44use Astrotomic \OpenGraph \Types \Twitter \Summary ;
55use Astrotomic \OpenGraph \Types \Twitter \SummaryLargeImage ;
6+ use function Spatie \Snapshots \{assertMatchesHtmlSnapshot };
67
78it ('can generate summary tags ' , function () {
89 $ og = Summary::make ('Title | Example ' )
Original file line number Diff line number Diff line change 66use Astrotomic \OpenGraph \Types \Video \Movie ;
77use Astrotomic \OpenGraph \Types \Video \Other ;
88use Astrotomic \OpenGraph \Types \Video \TvShow ;
9+ use function Spatie \Snapshots \{assertMatchesHtmlSnapshot };
910
1011it ('can generate movie tags ' , function () {
1112 $ og = Movie::make ('Title | Example ' )
You can’t perform that action at this time.
0 commit comments