24 lines
737 B
PHP
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();
|
|
}
|
|
}
|
|
}
|