1
0
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:
David Bomba 2024-05-27 09:57:48 +10:00
parent 560ff57a10
commit 240494bd4a

View File

@ -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);
}
}