This commit is contained in:
Saeed Vaziry
2025-06-04 19:04:02 +02:00
parent 35894003f5
commit f8f8d57fe2
31 changed files with 165 additions and 171 deletions

View File

@ -80,7 +80,7 @@ public function test_cannot_delete_last_project(): void
Sanctum::actingAs($this->user, ['read', 'write']);
$this->json('DELETE', "/api/projects/{$this->user->currentProject->id}")
->assertJsonValidationErrorFor('project');
->assertJsonValidationErrorFor('name');
$this->assertDatabaseHas('projects', [
'id' => $this->user->currentProject->id,