completed the frontend dashboard component and bound it to the tenant admin pwa for the optimal onboarding experience.. Added a profile page.
This commit is contained in:
@@ -73,4 +73,18 @@ class ProfilePageTest extends TestCase
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function test_localized_profile_route_resolves_to_profile_page(): void
|
||||
{
|
||||
$user = User::factory()->create([
|
||||
'preferred_locale' => 'de',
|
||||
]);
|
||||
|
||||
$this->actingAs($user);
|
||||
|
||||
$response = $this->get(route('marketing.profile.index', ['locale' => 'de']));
|
||||
|
||||
$response->assertStatus(200)
|
||||
->assertInertia(fn (AssertableInertia $page) => $page->component('Profile/Index'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user