Skip to content

A free open source IT asset/license management system

Pint

snipec758fb4c83f1
diff --git a/tests/Feature/Locations/Api/LocationsForSelectListTest.php b/tests/Feature/Locations/Api/LocationsForSelectListTest.php
index ceac4d1503..05a04f62a8 100644
--- a/tests/Feature/Locations/Api/LocationsForSelectListTest.php
+++ b/tests/Feature/Locations/Api/LocationsForSelectListTest.php
@@ -42,11 +42,9 @@ class LocationsForSelectListTest extends TestCase
$this->actingAsForApi(User::factory()->createUsers()->create())
->getJson(route('api.locations.selectlist', ['excludeId' => $locationA->id]))
->assertOk()
- ->assertJson(fn (AssertableJson $json) =>
- $json->where('results', fn ($results) =>
- collect($results)->doesntContain('id', $locationA->id) &&
+ ->assertJson(fn (AssertableJson $json) => $json->where('results', fn ($results) => collect($results)->doesntContain('id', $locationA->id) &&
collect($results)->contains('id', $locationB->id)
- )->etc()
+ )->etc()
);
}