fix format + fix employee creation

This commit is contained in:
Dennis Eichhorn 2019-09-28 23:11:30 +02:00
parent 6b3c2751b6
commit 7608536e84

View File

@ -747,7 +747,7 @@ $accounts = [
'pass' => 'deichhorn', 'pass' => 'deichhorn',
'name1' => 'Dennis', 'name1' => 'Dennis',
'name2' => 'Eichhorn', 'name2' => 'Eichhorn',
'email' => 'dennis.eichhorn@gdfmbh.com', 'email' => 'd.eichhorn@schuetz-dental.de',
'groups' => ['Executive', 'Finance', 'Controlling', 'Employee', 'beta_tester'], 'groups' => ['Executive', 'Finance', 'Controlling', 'Employee', 'beta_tester'],
], ],
]; ];
@ -858,9 +858,9 @@ $response = new Response();
$request = new Request(new Http('')); $request = new Request(new Http(''));
$request->getHeader()->setAccount(2); $request->getHeader()->setAccount(2);
$request->setData('account', 2); $request->setData('accounts', 2);
$module->apiEmployeeFromAccountCreate($request, $response); $module->apiEmployeeCreate($request, $response);
$request->setData('employee', 1); $request->setData('employee', 1);
$request->setData('start', '2015-07-01'); $request->setData('start', '2015-07-01');