Modern minimalist split-layout login (left brand panel, right form) at /login. Sign-in posts to /api/v1/auth/login, stores the bearer token in localStorage, redirects to /dashboard. Demo-account expander auto-fills the form. Placeholder dashboard fetches /me, shows top nav + stat cards (values pending), and supports sign-out. AdminUserSeeder now seeds 4 demo admins (admin/ops/audit/demo @verde.local, all "password"). Tailwind config gets a Verde green palette + Inter font; component classes for buttons + form inputs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 lines
376 B
PHP
19 lines
376 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
|
|
{
|
|
$this->get('/')->assertRedirect('/login');
|
|
$this->get('/login')->assertOk();
|
|
}
|
|
}
|