test updates
This commit is contained in:
@@ -69,7 +69,7 @@ class NavigatorHeaderCoverageTest extends TestCase
|
||||
$this->actingAs($user)
|
||||
->get(route('platform.dashboard'))
|
||||
->assertOk()
|
||||
->assertSee('Pricing plans', false)
|
||||
->assertDontSee('Pricing plans', false)
|
||||
->assertSee(route('platform.pricing.index'), false)
|
||||
->assertSee(route('platform.prices.index'), false);
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class PlatformAdministrationTest extends TestCase
|
||||
/**
|
||||
* Ensure dashboard renders the single platform header and pricing cards.
|
||||
*/
|
||||
public function test_platform_dashboard_renders_counts_pricing_and_recent_companies(): void
|
||||
public function test_platform_dashboard_renders_counts_without_pricing_cards_and_recent_companies(): void
|
||||
{
|
||||
$admin = User::factory()->mpbaPlatformAdmin()->create();
|
||||
PlatformPrice::query()->delete();
|
||||
@@ -55,7 +55,7 @@ class PlatformAdministrationTest extends TestCase
|
||||
->get(route('platform.dashboard'))
|
||||
->assertOk()
|
||||
->assertSee('Platform Dashboard', false)
|
||||
->assertSee('Pricing plans', false)
|
||||
->assertDontSee('Pricing plans', false)
|
||||
->assertSee('Basic', false)
|
||||
->assertSee('Advanced', false)
|
||||
->assertSee('Pro', false)
|
||||
|
||||
Reference in New Issue
Block a user