first commit
This commit is contained in:
10
tests/Feature/ProjectTest.php
Normal file
10
tests/Feature/ProjectTest.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
test('an user can add project', function () {
|
||||
$user = \Laravel\Sanctum\Sanctum::actingAs(\App\Models\User::factory()->create());
|
||||
|
||||
$response = $this->post('api/projects', [
|
||||
'name' => 'Test',
|
||||
'description' => 'Test description',
|
||||
]);
|
||||
})->todo();
|
||||
Reference in New Issue
Block a user