upgrade to tamagui v2 and guest pwa overhaul
This commit is contained in:
36
tests/Feature/GuestV2PwaTest.php
Normal file
36
tests/Feature/GuestV2PwaTest.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user