Files
ladill-hosting/tests/Feature/MarketingHostingCatalogTest.php
isaaccladandCursor e251a4cf60
Deploy Ladill Hosting / deploy (push) Failing after 17s
Initial Ladill Hosting app with Gitea deploy pipeline.
Shared web hosting extracted from the platform monolith, with CI deploy
to /var/www/ladill-hosting matching Bird/Domains/Email.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:24:20 +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');
}
}