mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
Removed test no longer needed due to validation
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
ef145e47b4
commit
da4ec145d7
|
@ -17,16 +17,6 @@ class LicenseViewTest extends TestCase
|
|||
->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]);
|
||||
|
|
Loading…
Reference in a new issue