1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 18:04:03 +00:00

Directive support for Flipp

This commit is contained in:
Samuel Štancl 2021-05-24 11:40:17 +02:00
parent 2dc7b7048e
commit 6b575dec29
2 changed files with 18 additions and 0 deletions

View file

@ -42,3 +42,11 @@ test('flipp images are used as the cover images', function () {
expect(seo()->flipp('blog'))
->toBe(seo('image'));
});
test('the blade directive can be used with flipp', function () {
seo()->flipp('blog', 'abc');
seo()->title('foo')->description('bar');
expect(blade("@seo('flipp', 'blog')"))->toBe(seo()->flipp('blog'));
});