20 lines
425 B
PHP
20 lines
425 B
PHP
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
// use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Tests\TestCase;
|
|
|
|
class ExampleTest extends TestCase
|
|
{
|
|
/**
|
|
* A basic test example.
|
|
*/
|
|
public function test_the_application_returns_a_successful_response(): void
|
|
{
|
|
// Tamu diarahkan ke halaman login
|
|
$this->get('/')->assertRedirect(route('login'));
|
|
$this->get('/login')->assertOk();
|
|
}
|
|
}
|