Files
AndyTranscribe/tests/Feature/ExampleTest.php
T
ben bfcfc12f58 Add Fortify auth, Flux dark mode, demo seed, and Docker hot reload.
Protect recordings per user, seed a demo login on container start, and bind-mount the app with Vite HMR for local Compose development.
2026-08-12 18:38:53 +02:00

21 lines
410 B
PHP

<?php
namespace Tests\Feature;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* Guests hitting / are sent toward recordings, then login.
*/
public function test_the_application_redirects_guests_to_login(): void
{
$this->get('/')
->assertRedirect('/recordings');
$this->get('/recordings')
->assertRedirect(route('login'));
}
}