'accessKey' => 'api access key',
'secretAccessKey' => 'test',
'deletedAt' =>
$timeExpired,
],
],
],
], Context::
createDefaultContext());
$task =
new DeleteCascadeAppsTask();
$task->
setTaskId($taskId);
$handler =
new DeleteCascadeAppsHandler($this->scheduledTaskRepo,
$this->aclRoleRepo,
$this->integrationRepo
);
$handler($task);
$aclRoles =
$this->aclRoleRepo->
search(new Criteria(), Context::
createDefaultContext())->
getEntities();
static::
assertCount($numberEntities,
$aclRoles);
$integrations =
$this->integrationRepo->
search(new Criteria(), Context::
createDefaultContext())->
getEntities();
static::
assertCount($numberEntities,
$integrations);
}}