test(IT): Test Ldap Import check use cases

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-10-25 20:31:36 +02:00
parent f7aa81a176
commit 8ab83bae47
9 changed files with 241 additions and 85 deletions

View File

@@ -59,7 +59,7 @@ final class CheckController extends SimpleControllerBase
* @throws SPException
*/
#[Action(ResponseType::JSON)]
public function checkAction(bool $useConfigParams): ActionResponse
public function checkAction(bool $useConfigParams = true): ActionResponse
{
if ($useConfigParams) {
$ldapParams = LdapParams::fromConfig($this->configData);