correct api test
This commit is contained in:
parent
afaf53cdfc
commit
9622e05cf5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue