37 lines
860 B
PHP
37 lines
860 B
PHP
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
use Tests\TestCase;
|
|
|
|
class GuestV2PwaTest extends TestCase
|
|
{
|
|
public function test_event_v2_route_returns_guest_view(): void
|
|
{
|
|
$this->get('/event-v2')
|
|
->assertOk()
|
|
->assertViewIs('guest-v2');
|
|
}
|
|
|
|
public function test_event_v2_route_allows_nested_paths(): void
|
|
{
|
|
$this->get('/event-v2/demo/path')
|
|
->assertOk()
|
|
->assertViewIs('guest-v2');
|
|
}
|
|
|
|
public function test_event_v2_mockups_route_returns_guest_view(): void
|
|
{
|
|
$this->get('/event-v2/mockups/1')
|
|
->assertOk()
|
|
->assertViewIs('guest-v2');
|
|
}
|
|
|
|
public function test_event_v2_home_mockups_route_returns_guest_view(): void
|
|
{
|
|
$this->get('/event-v2/mockups/home/1')
|
|
->assertOk()
|
|
->assertViewIs('guest-v2');
|
|
}
|
|
}
|