12 lines
275 B
PHP
12 lines
275 B
PHP
<?php
|
|
|
|
it('serves the Filament admin login page', function () {
|
|
$this->get('/admin/login')
|
|
->assertOk();
|
|
});
|
|
|
|
it('redirects unauthenticated users to the Filament login', function () {
|
|
$this->get('/admin')
|
|
->assertRedirectContains('/admin/login');
|
|
});
|