correct api test

This commit is contained in:
spencerrlongg 2024-08-14 18:41:06 -05:00
parent afaf53cdfc
commit 9622e05cf5

View file

@ -371,7 +371,7 @@ class UpdateUserTest extends TestCase
$this->actingAsForApi($superUser)->patchJson(route('api.users.update', $user), [ $this->actingAsForApi($superUser)->patchJson(route('api.users.update', $user), [
'username' => 'test', 'username' => 'test',
'company_id' => $companyB->id, 'company_id' => $companyB->id,
])->assertMessagesAre('error'); ])->assertStatusMessageIs('error');
} }
} }