diff --git a/tests/GlobalTypesTest.php b/tests/GlobalTypesTest.php
index 2d3d5ca..a8ce64d 100644
--- a/tests/GlobalTypesTest.php
+++ b/tests/GlobalTypesTest.php
@@ -15,7 +15,19 @@
->image('http://www.example.com/image1.jpg');
assertMatchesHtmlSnapshot((string) $og);
-})->group('global');
+})->group('global', 'website');
+
+it('can generate website tags with stringable image', function () {
+ $og = Website::make('Title | Example')
+ ->url('http://www.example.com')
+ ->description('Description')
+ ->locale('en_US')
+ ->alternateLocale('en_GB')
+ ->siteName('Example')
+ ->image(new class() { public function __toString() { return 'http://www.example.com/image1.jpg'; }});
+
+ assertMatchesHtmlSnapshot((string) $og);
+})->group('global', 'website');
it('can generate article tags', function () {
$og = Article::make('Article | Example')
@@ -33,7 +45,7 @@
->tag('PHP');
assertMatchesHtmlSnapshot((string) $og);
-})->group('global');
+})->group('global', 'article');
it('can generate book tags', function () {
$og = Book::make('Book | Example')
@@ -50,7 +62,7 @@
->tag('PHP');
assertMatchesHtmlSnapshot((string) $og);
-})->group('global');
+})->group('global', 'book');
it('can generate profile tags', function () {
$og = Profile::make('Profile | Example')
@@ -67,4 +79,4 @@
->gender('female');
assertMatchesHtmlSnapshot((string) $og);
-})->group('global');
+})->group('global', 'profile');
diff --git a/tests/MusicTypesTest.php b/tests/MusicTypesTest.php
index 21c35a8..16b90c7 100644
--- a/tests/MusicTypesTest.php
+++ b/tests/MusicTypesTest.php
@@ -20,7 +20,7 @@
->album('http://www.example.com/album', 1, 4);
assertMatchesHtmlSnapshot((string) $og);
-})->group('music');
+})->group('music', 'song');
it('can generate album tags', function () {
$og = Album::make('Title | Example')
@@ -39,7 +39,7 @@
->releasedAt(new DateTime('2020-06-05'));
assertMatchesHtmlSnapshot((string) $og);
-})->group('music');
+})->group('music', 'album');
it('can generate playlist tags', function () {
$og = Playlist::make('Title | Example')
@@ -57,7 +57,7 @@
->song('http://www.example.com/song4', 1, 4);
assertMatchesHtmlSnapshot((string) $og);
-})->group('music');
+})->group('music', 'playlist');
it('can generate radiostation tags', function () {
$og = RadioStation::make('Title | Example')
@@ -71,4 +71,4 @@
->creator('http://www.example.com/creator');
assertMatchesHtmlSnapshot((string) $og);
-})->group('music');
+})->group('music', 'radio_station');
diff --git a/tests/TwitterTypesTest.php b/tests/TwitterTypesTest.php
index 9e1404e..1ae00d6 100644
--- a/tests/TwitterTypesTest.php
+++ b/tests/TwitterTypesTest.php
@@ -11,16 +11,17 @@
->image('http://www.example.com/image1.jpg', 'Image alternate text');
assertMatchesHtmlSnapshot((string) $og);
-})->group('twitter');
+})->group('twitter', 'summary');
it('can generate summary with large image tags', function () {
$og = SummaryLargeImage::make('Title | Example')
->description('Description')
->site('@astrotomic_oss')
+ ->creator('@devgummibeer')
->image('http://www.example.com/image1.jpg', 'Image alternate text');
assertMatchesHtmlSnapshot((string) $og);
-})->group('twitter');
+})->group('twitter', 'summary_large_image');
it('can generate player tags', function () {
$og = Player::make('Title | Example')
@@ -30,4 +31,4 @@
->player('http://www.example.com/player.iframe', 1920, 1080);
assertMatchesHtmlSnapshot((string) $og);
-})->group('twitter');
+})->group('twitter', 'player');
diff --git a/tests/VideoTypesTest.php b/tests/VideoTypesTest.php
index 645a9d4..a1bf958 100644
--- a/tests/VideoTypesTest.php
+++ b/tests/VideoTypesTest.php
@@ -32,7 +32,7 @@
->tag('Thriller');
assertMatchesHtmlSnapshot((string) $og);
-})->group('video');
+})->group('video', 'movie');
it('can generate tv show tags', function () {
$og = TvShow::make('Title | Example')
@@ -50,7 +50,7 @@
->tag('Crime');
assertMatchesHtmlSnapshot((string) $og);
-})->group('video');
+})->group('video', 'tv_show');
it('can generate episode tags', function () {
$og = Episode::make('Title | Example')
@@ -70,7 +70,7 @@
->tag('Crime');
assertMatchesHtmlSnapshot((string) $og);
-})->group('video');
+})->group('video', 'episode');
it('can generate other tags', function () {
$og = Other::make('Title | Example')
@@ -90,4 +90,4 @@
->tag('Crime');
assertMatchesHtmlSnapshot((string) $og);
-})->group('video');
+})->group('video', 'other');
diff --git a/tests/__snapshots__/MusicTypesTest__it_can_generate_song_tags__1.html b/tests/__snapshots__/MusicTypesTest__it_can_generate_song_tags__1.html
index e045dcf..e1feaf7 100644
--- a/tests/__snapshots__/MusicTypesTest__it_can_generate_song_tags__1.html
+++ b/tests/__snapshots__/MusicTypesTest__it_can_generate_song_tags__1.html
@@ -8,7 +8,7 @@
-
+
diff --git a/tests/__snapshots__/VideoTypesTest__it_can_generate_other_tags__1.html b/tests/__snapshots__/VideoTypesTest__it_can_generate_other_tags__1.html
index 773aa8c..ff38422 100644
--- a/tests/__snapshots__/VideoTypesTest__it_can_generate_other_tags__1.html
+++ b/tests/__snapshots__/VideoTypesTest__it_can_generate_other_tags__1.html
@@ -8,7 +8,7 @@
-
+