Commit workspace changes
This commit is contained in:
18
tests/Feature/Groups/GroupsHelpPageTest.php
Normal file
18
tests/Feature/Groups/GroupsHelpPageTest.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
use Inertia\Testing\AssertableInertia;
|
||||
|
||||
it('renders the groups help page with real internal links', function () {
|
||||
$this->get(route('help.groups'))
|
||||
->assertOk()
|
||||
->assertInertia(fn (AssertableInertia $page) => $page
|
||||
->component('Group/GroupHelpPage')
|
||||
->where('title', 'Groups Help & Guide')
|
||||
->where('seo.canonical', route('help.groups'))
|
||||
->where('links.groups_directory', route('groups.index'))
|
||||
->where('links.create_group', route('studio.groups.create'))
|
||||
->where('links.group_studio', route('studio.groups.index'))
|
||||
->where('links.contact_support', route('contact.show'))
|
||||
->where('links.report_issue', route('bug-report'))
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user