Files
ABSDEV/tests/Feature/Integration/SonarDeskDomainRoutingTest.php
T
2026-10-12 14:27:19 +01:00

24 lines
737 B
PHP

<?php
namespace Tests\Feature\Integration;
use Tests\TestCase;
class SonarDeskDomainRoutingTest extends TestCase
{
public function test_sonardesk_hosts_resolve_the_product_homepage(): void
{
foreach (['sonardesk.absdev.net', 'sonardesk.co.uk', 'www.sonardesk.co.uk'] as $host) {
$this->get('https://'.$host.'/')->assertOk()->assertSee('SonarDesk');
}
}
public function test_product_features_and_pricing_are_available_on_each_host(): void
{
foreach (['sonardesk.absdev.net', 'sonardesk.co.uk', 'www.sonardesk.co.uk'] as $host) {
$this->get('https://'.$host.'/features')->assertOk();
$this->get('https://'.$host.'/pricing')->assertOk();
}
}
}