Files
ladill-servers/tests/Feature/MarketingHostingCatalogTest.php
isaaccladandCursor b6c8ac343f Extract Ladill Servers as standalone app at servers.ladill.com.
VPS and dedicated server ordering, managed panels, SSO, billing, and launcher integration — forked from hosting infrastructure with server-focused routes and dashboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 19:18:30 +00:00

31 lines
970 B
PHP

<?php
namespace Tests\Feature;
use Database\Seeders\HostingProductSeeder;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class MarketingHostingCatalogTest extends TestCase
{
use RefreshDatabase;
public function test_marketing_hosting_pages_render_updated_seeded_single_and_multi_domain_plans(): void
{
$this->seed(HostingProductSeeder::class);
$singleDomain = $this->get(route('products.hosting.single'));
$singleDomain->assertOk();
$singleDomain->assertSee('Starter Plan');
$singleDomain->assertSee('GHS 1.00');
$singleDomain->assertSee('8 GB · 1 site');
$multiDomain = $this->get(route('products.hosting.multi'));
$multiDomain->assertOk();
$multiDomain->assertSee('Pro Plan');
$multiDomain->assertSee('GHS 175.00');
$multiDomain->assertSee('225 GB · Unlimited sites');
$multiDomain->assertDontSee('225 GB · -1 sites');
}
}