mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Removed MBP constraint on model
This was creating a validation error since the name already exists Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a79fe69bf4
commit
e8deecc9b4
|
@ -17,7 +17,6 @@ class DepreciationTest extends TestCase
|
|||
$depreciation = Depreciation::factory()->create();
|
||||
|
||||
AssetModel::factory()
|
||||
->mbp13Model()
|
||||
->count(5)
|
||||
->create(
|
||||
[
|
||||
|
@ -25,7 +24,6 @@ class DepreciationTest extends TestCase
|
|||
'depreciation_id' => $depreciation->id
|
||||
]);
|
||||
|
||||
|
||||
$this->assertEquals(5, $depreciation->models->count());
|
||||
}
|
||||
public function testDepreciationAmount()
|
||||
|
|
Loading…
Reference in a new issue