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

Update ManagerTest.php

This commit is contained in:
Ben Bjurstrom 2024-11-22 21:04:31 -08:00 committed by GitHub
parent 85e5acb064
commit 0b2ff24cac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,8 +124,8 @@ test('canonical url accepts origin', function () {
seo()->withUrl('https://foo.com');
expect(meta())
->toContain('<meta property="og:url" content="https://foo.com/testing/5" />')
->toContain('<link rel="canonical" href="https://foo.com/testing/5" />');
->toContain('<meta property="og:url" content="https://foo.com/testing/5">')
->toContain('<link rel="canonical" href="https://foo.com/testing/5">');
});
test('canonical url can be changed', function () {