Add failing test

This commit is contained in:
Marcus Moore
2025-05-12 12:30:06 -07:00
parent 9e3e04521e
commit b53a71d523

View File

@@ -47,4 +47,13 @@ class ShowAccessoryTest extends TestCase
->assertOk();
}
public function testHandlesAccessoryCreatorNotExisting()
{
$accessory = Accessory::factory()->create(['created_by' => 999999]);
$this->actingAs(User::factory()->superuser()->create())
->get(route('accessories.show', $accessory))
->assertOk();
}
}