create(); PlatformPrice::query()->delete(); PlatformPrice::create([ 'code' => 'basic', 'name' => 'Basic', 'strapline' => 'Starter access', 'description' => 'Core WMS functions.', 'monthly_amount' => 4900, 'annual_amount' => 49000, 'currency' => 'gbp', 'badge_label' => 'Starter', 'features' => ['2 warehouses', '10 users'], 'sort_order' => 10, 'is_featured' => false, 'is_active' => true, ]); $this->actingAs($user) ->get(route('pricing.index')) ->assertOk() ->assertSee('Pricing', false) ->assertSee('Basic', false); } }