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

Add twitter:creator meta tag

This commit is contained in:
tpetry 2022-06-10 12:35:19 +02:00
parent 754b3936d0
commit e352e5ddcf
4 changed files with 5 additions and 2 deletions

View file

@ -25,7 +25,7 @@ test('the twitter extension can be disabled by calling twitter with false', func
test('when an extension is enabled, all of its keys are included in the resolved values', function () {
expect(seo()->twitter()->all())
->not()->toBeEmpty()
->toHaveKeys(['twitter.title', 'twitter.description', 'twitter.site', 'twitter.image']);
->toHaveKeys(['twitter.title', 'twitter.description', 'twitter.creator', 'twitter.site', 'twitter.image']);
});
test('extension keys can be set by prefixing the call with the extension name and using camelcase', function () {