rm a couple unnecessary
This commit is contained in:
parent
e7b9903341
commit
8cc1397ace
1 changed files with 0 additions and 7 deletions
|
@ -9,8 +9,6 @@ use App\Models\Location;
|
||||||
use App\Models\Statuslabel;
|
use App\Models\Statuslabel;
|
||||||
use App\Models\Supplier;
|
use App\Models\Supplier;
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
|
|
||||||
// TODO: DELETE INTERACTSWITHSETTINGS BEFORE FINAL PR
|
|
||||||
use Tests\Support\InteractsWithSettings;
|
use Tests\Support\InteractsWithSettings;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
|
@ -108,9 +106,6 @@ class AssetUpdateTest extends TestCase
|
||||||
{
|
{
|
||||||
$asset = Asset::factory()->laptopMbp()->noPurchaseOrEolDate()->create();
|
$asset = Asset::factory()->laptopMbp()->noPurchaseOrEolDate()->create();
|
||||||
|
|
||||||
$this->settings->enableAutoIncrement();
|
|
||||||
|
|
||||||
|
|
||||||
$this->actingAsForApi(User::factory()->editAssets()->create())
|
$this->actingAsForApi(User::factory()->editAssets()->create())
|
||||||
->patchJson((route('api.assets.update', $asset->id)), [
|
->patchJson((route('api.assets.update', $asset->id)), [
|
||||||
'purchase_date' => '2021-01-01',
|
'purchase_date' => '2021-01-01',
|
||||||
|
@ -128,8 +123,6 @@ class AssetUpdateTest extends TestCase
|
||||||
{
|
{
|
||||||
$asset = Asset::factory()->laptopMbp()->noPurchaseOrEolDate()->create();
|
$asset = Asset::factory()->laptopMbp()->noPurchaseOrEolDate()->create();
|
||||||
|
|
||||||
$this->settings->enableAutoIncrement();
|
|
||||||
|
|
||||||
$this->actingAsForApi(User::factory()->editAssets()->create())
|
$this->actingAsForApi(User::factory()->editAssets()->create())
|
||||||
->patchJson(route('api.assets.update', $asset->id), [
|
->patchJson(route('api.assets.update', $asset->id), [
|
||||||
'name' => 'test asset',
|
'name' => 'test asset',
|
||||||
|
|
Loading…
Add table
Reference in a new issue