Add settings page pinned to sidebar footer like other Ladill apps.
Deploy Ladill Woo Manager / deploy (push) Successful in 38s
Deploy Ladill Woo Manager / deploy (push) Successful in 38s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -219,6 +219,17 @@ class WooWebTest extends TestCase
|
||||
]);
|
||||
}
|
||||
|
||||
public function test_authenticated_user_can_view_settings(): void
|
||||
{
|
||||
$user = User::factory()->create();
|
||||
|
||||
$this->actingAs($user)
|
||||
->get(route('woo.settings'))
|
||||
->assertOk()
|
||||
->assertSee('Settings')
|
||||
->assertSee('Manage connected stores');
|
||||
}
|
||||
|
||||
public function test_merchant_can_view_products_page(): void
|
||||
{
|
||||
$user = User::factory()->create();
|
||||
|
||||
Reference in New Issue
Block a user