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