A free open source IT asset/license management system
Removed test no longer needed due to validation
snipeda4ec145d764
diff --git a/tests/Feature/Licenses/Ui/LicenseViewTest.php b/tests/Feature/Licenses/Ui/LicenseViewTest.phpindex 295b23c5f0..3b1f7830d4 100644--- a/tests/Feature/Licenses/Ui/LicenseViewTest.php+++ b/tests/Feature/Licenses/Ui/LicenseViewTest.php@@ -16,17 +16,7 @@ class LicenseViewTest extends TestCase->get(route('licenses.show', $license))->assertForbidden();}--- public function testLicenseWithNoPurchaseDateDoesNotTriggerDepreciation()- {- $depreciation = Depreciation::factory()->create(['months' => 12]);- $license = License::factory()->create(['depreciation_id' => $depreciation->id, 'purchase_date' => null]);- $this->actingAs(User::factory()->superuser()->create())- ->get(route('licenses.show', $license))- ->assertOk();- }-+public function testLicenseWithPurchaseDateDepreciatesCorrectly(){$depreciation = Depreciation::factory()->create(['months' => 12]);