Clear some extra lines

This commit is contained in:
Marcus Moore 2023-02-02 18:30:18 -08:00
parent d8e92d29c0
commit 9a0c66bd30
No known key found for this signature in database

View file

@ -53,11 +53,9 @@ class UsersForSelectListTest extends TestCase
$results = collect($response->json('results'));
$this->assertEquals($jedi->users->count(), $results->count());
$this->assertTrue(
$results->pluck('text')->contains(fn($text) => str_contains($text, $jedi->users->first()->first_name))
);
$this->assertFalse(
$results->pluck('text')->contains(fn($text) => str_contains($text, $sith->users->first()->first_name))
);
@ -78,7 +76,6 @@ class UsersForSelectListTest extends TestCase
->create();
Passport::actingAs($jedi->users->first());
$response = $this->getJson(route('api.users.selectlist', ['search' => 'a']))->assertOk();
$results = collect($response->json('results'));