diff --git a/tests/Feature/Assets/AssetCheckinTest.php b/tests/Feature/Checkins/AssetCheckinTest.php similarity index 53% rename from tests/Feature/Assets/AssetCheckinTest.php rename to tests/Feature/Checkins/AssetCheckinTest.php index 059fb1294f..2ec5f78318 100644 --- a/tests/Feature/Assets/AssetCheckinTest.php +++ b/tests/Feature/Checkins/AssetCheckinTest.php @@ -1,6 +1,6 @@ actingAs(User::factory()->create()) + ->post(route('hardware.checkin.store', [ + 'assetId' => Asset::factory()->assignedToUser()->create()->id, + ])) + ->assertForbidden(); + } + + public function testAssetCanBeCheckedIn() + { + $this->markTestIncomplete(); + } + + public function testCheckInEmailSentToUserIfSettingEnabled() + { + $this->markTestIncomplete(); + } + + public function testCheckInEmailNotSentToUserIfSettingDisabled() + { + $this->markTestIncomplete(); + } + public function testLastCheckInFieldIsSetOnCheckin() { $admin = User::factory()->superuser()->create();