mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
correct api test
This commit is contained in:
parent
afaf53cdfc
commit
9622e05cf5
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue