From a463db65df863b5ec0a7c227b1cd1a028772565c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 25 Apr 2024 22:53:57 +0000 Subject: [PATCH] fix tests --- tests/Controller/ApiControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 2d9513c..fadb2b1 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -121,7 +121,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase $request = new HttpRequest(); $request->header->account = 1; - $request->setData('profiles', '1'); + $request->setData('accounts', '1'); // can create multiple accounts if profiles is a list of ids e.g. 1,2,3 $this->module->apiEmployeeCreate($request, $response);