web/tests/Feature/ExampleTest.php

19 lines
324 B
PHP
Raw Normal View History

2026-08-22 23:42:57 +02:00
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
use RefreshDatabase;
public function test_returns_a_successful_response(): void
{
$response = $this->get(route('home'));
$response->assertOk();
}
}