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 (#21)

This commit is contained in:
Tobias Petry 2022-06-11 13:26:19 +02:00 committed by GitHub
parent 754b3936d0
commit 9ce6843879
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 () {