fixed sanitazer and academy

This commit is contained in:
2026-06-05 16:53:20 +02:00
parent 15870ddb1f
commit f89ee937c0
29 changed files with 2444 additions and 1039 deletions

View File

@@ -98,7 +98,8 @@ it('renders public worlds index and detail pages', function (): void {
->assertInertia(fn (AssertableInertia $page) => $page
->component('World/WorldShow')
->where('world.title', 'Summer Slam 2026')
->where('world.slug', 'summer-slam-2026'));
->where('world.slug', 'summer-slam-2026')
->where('seo.canonical', route('worlds.show', ['world' => $world->slug])));
});
it('returns a relative latest world navigation link regardless of request host', function (): void {
@@ -909,4 +910,4 @@ it('splits live, upcoming, and archived worlds on the public index', function ()
->has('recurringWorldFamilies', 1)
->where('recurringWorldFamilies.0.title', 'Spring Vibes')
->has('archivedWorlds', 2));
});
});