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

26 lines
1.2 KiB
PHP

<?php
use Inertia\Testing\AssertableInertia;
it('renders the account help page with real internal links', function () {
$this->get(route('help.account'))
->assertOk()
->assertInertia(fn (AssertableInertia $page) => $page
->component('Help/AccountHelpPage')
->where('title', 'Account Settings Help')
->where('seo.canonical', route('help.account'))
->where('links.help_home', route('help'))
->where('links.help_auth', route('help.auth'))
->where('links.help_profile', route('help.profile'))
->where('links.studio_help', route('help.studio'))
->where('links.upload_help', route('help.upload'))
->where('links.help_troubleshooting', route('help.troubleshooting'))
->where('links.profile_settings', route('dashboard.profile'))
->where('links.open_studio', route('studio.index'))
->where('links.login', route('login'))
->where('links.register', route('register'))
->where('links.password_request', route('password.request'))
->where('links.contact_support', route('contact.show'))
->where('links.report_issue', route('bug-report'))
);
});