mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for tests
This commit is contained in:
parent
560ff57a10
commit
240494bd4a
@ -35,4 +35,14 @@ class UpdateCompanyUserRequest extends Request
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function prepareForValidation()
|
||||
{
|
||||
$input = $this->all();
|
||||
|
||||
if(isset($input['company_user']['user']))
|
||||
unset($input['company_user']['user']);
|
||||
|
||||
$this->replace($input);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user