Files
fotospiel-app/tests/Feature/GuestV2PwaTest.php
2026-02-02 13:01:20 +01:00

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');
}
}