Gate Care branch management behind Pro like Frontdesk.
Deploy Ladill Care / deploy (push) Successful in 1m25s
Deploy Ladill Care / deploy (push) Successful in 1m25s
Free plans keep a single setup branch but get an upgrade screen for Branches; Pro/Enterprise unlock multi-branch management via plan features.
This commit is contained in:
@@ -128,12 +128,13 @@ class CareWebTest extends TestCase
|
||||
|
||||
public function test_branches_index_loads(): void
|
||||
{
|
||||
// Free plan: multi-branch management is Pro-gated (setup branch still exists).
|
||||
$this->actingAs($this->user)
|
||||
->get(route('care.branches.index'))
|
||||
->assertOk()
|
||||
->assertSee('All branches')
|
||||
->assertSee('Main Branch')
|
||||
->assertSee('Settings');
|
||||
->assertSee('Upgrade your plan')
|
||||
->assertSee('View plans')
|
||||
->assertDontSee('Main Branch');
|
||||
}
|
||||
|
||||
public function test_members_index_loads(): void
|
||||
|
||||
Reference in New Issue
Block a user