updates for admin area

This commit is contained in:
Mark Gregory
2026-09-12 21:04:45 +01:00
parent 8c9dbfee08
commit ab3134de13
43 changed files with 573 additions and 137 deletions
+7
View File
@@ -3,6 +3,7 @@
namespace Tests\Feature;
use App\Models\User;
use Illuminate\Foundation\Http\Middleware\PreventRequestForgery;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Spatie\Permission\Models\Role;
use Tests\TestCase;
@@ -11,6 +12,12 @@ class AuthenticationTest extends TestCase
{
use RefreshDatabase;
protected function setUp(): void
{
parent::setUp();
$this->withoutMiddleware(PreventRequestForgery::class);
}
public function test_user_can_register(): void
{
Role::create(['name' => 'client', 'guard_name' => 'web']);