test updates

This commit is contained in:
Mark Gregory
2026-06-23 15:47:32 +01:00
parent 5dbc6394b8
commit e76e7de4a3
7 changed files with 5 additions and 95 deletions
@@ -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)