Repo rebuild
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use Tests\TestCase;
|
||||
|
||||
class ExampleTest extends TestCase
|
||||
{
|
||||
public function test_home_route_redirects_guests_to_login(): void
|
||||
{
|
||||
$this->get(route('home'))->assertRedirect(route('login'));
|
||||
}
|
||||
|
||||
public function test_health_endpoint_returns_successful_response(): void
|
||||
{
|
||||
$this->get('/up')->assertOk();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user