Skip to content

A free open source IT asset/license management system

One more attempt at tests

snipe3e000962554e
diff --git a/tests/Feature/Fmcs/FmcsStrictBulkAssetEditTest.php b/tests/Feature/Fmcs/FmcsStrictBulkAssetEditTest.php
index b8e72bdaa2..ac3ae915de 100644
--- a/tests/Feature/Fmcs/FmcsStrictBulkAssetEditTest.php
+++ b/tests/Feature/Fmcs/FmcsStrictBulkAssetEditTest.php
@@ -34,7 +34,7 @@ class FmcsStrictBulkAssetEditTest extends TestCase
$this->actingAs($actor)
->post(route('hardware/bulksave'), [
- 'ids' => [$target->id => '1'],
+ 'ids' => [$target->id],
'company_id' => 'clear',
'bulk_actions' => 'edit',
]);
@@ -56,7 +56,7 @@ class FmcsStrictBulkAssetEditTest extends TestCase
$this->actingAs($actor)
->post(route('hardware/bulksave'), [
- 'ids' => [$target->id => '1'],
+ 'ids' => [$target->id],
'company_id' => 'clear',
'bulk_actions' => 'edit',
]);
@@ -92,7 +92,7 @@ class FmcsStrictBulkAssetEditTest extends TestCase
$response = $this->actingAs($actor)
->post(route('hardware/bulksave'), [
- 'ids' => [$target->id => '1'],
+ 'ids' => [$target->id],
'notes' => 'after',
'bulk_actions' => 'edit',
]);