#4 - users CRUD #24

Merged
Baakoma merged 24 commits from #4-users-crud into main 2022-01-19 10:55:10 +01:00
Showing only changes of commit df0390134c - Show all commits

View File

@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace Tests\Feature;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
use Toby\Models\User;
class UserTest extends TestCase
{
use DatabaseMigrations;
public function testUserCanSeeUsersList(): void
{
$user = User::factory()->create();
$this->actingAs($user)
->get("/users")
->assertOk();
}
}