Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp committed Jan 8, 2024
1 parent a0b7975 commit 8497f0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Integration/ImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use PHPUnit\Framework\Attributes\DataProvider;
use SimonHamp\TheOg\Background;
use SimonHamp\TheOg\Image;
use SimonHamp\TheOg\Themes\Themes;
use SimonHamp\TheOg\Theme\Theme;
use Spatie\Snapshots\MatchesSnapshots;

class ImageTest extends IntegrationTestCase
Expand Down Expand Up @@ -34,7 +34,7 @@ public static function snapshotImages(): iterable

yield 'different theme' => [
(new Image())
->theme(Themes::Dark)
->theme(Theme::Dark)
->url('https://example.com/blog/some-blog-post-url')
->title('Some blog post title that is quite big and quite long')
->description('Some slightly smaller but potentially much longer subtext. It could be really long so we might need to trim it completely after many words'),
Expand Down Expand Up @@ -67,7 +67,7 @@ public static function snapshotImages(): iterable

yield 'different theme with background url' => [
(new Image())
->theme(Themes::Dark)
->theme(Theme::Dark)
->url('https://example.com/blog/some-blog-post-url')
->title('Some blog post title that is quite big and quite long')
->description('Some slightly smaller but potentially much longer subtext. It could be really long so we might need to trim it completely after many words')
Expand Down

0 comments on commit 8497f0c

Please sign in to comment.