Files
SkinbaseNova/tests/Feature/Help/UploadHelpPageTest.php

22 lines
980 B
PHP

<?php
use Inertia\Testing\AssertableInertia;
it('renders the upload help page with real internal links', function () {
$this->get(route('help.upload'))
->assertOk()
->assertInertia(fn (AssertableInertia $page) => $page
->component('Help/UploadHelpPage')
->where('title', 'Upload Help')
->where('seo.canonical', route('help.upload'))
->where('links.upload', route('upload'))
->where('links.studio_help', route('help.studio'))
->where('links.studio_drafts', route('studio.drafts'))
->where('links.groups_help', route('help.groups'))
->where('links.group_studio', route('studio.groups.index'))
->where('links.help_cards', route('help.cards'))
->where('links.help_profile', route('help.profile'))
->where('links.contact_support', route('contact.show'))
->where('links.report_issue', route('bug-report'))
);
});