fix: add missing TenantDatabaseService mock to VendorTenantServiceTest
Some checks failed
CI / build (push) Failing after 58s
CI / docker (push) Has been skipped

Constructor gained an 11th parameter (TenantDatabaseService) but the
test was not updated, breaking CI compilation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-15 08:32:14 +02:00
parent d53afe43cc
commit 6eb848f353

View File

@@ -6,6 +6,7 @@ import net.siegeln.cameleer.saas.identity.LogtoManagementClient;
import net.siegeln.cameleer.saas.identity.ServerApiClient;
import net.siegeln.cameleer.saas.provisioning.ProvisioningProperties;
import net.siegeln.cameleer.saas.provisioning.TenantDataCleanupService;
import net.siegeln.cameleer.saas.provisioning.TenantDatabaseService;
import net.siegeln.cameleer.saas.license.LicenseEntity;
import net.siegeln.cameleer.saas.license.LicenseService;
import net.siegeln.cameleer.saas.provisioning.ProvisionResult;
@@ -65,6 +66,9 @@ class VendorTenantServiceTest {
@Mock
private TenantDataCleanupService dataCleanupService;
@Mock
private TenantDatabaseService tenantDatabaseService;
private VendorTenantService vendorTenantService;
@BeforeEach
@@ -77,7 +81,7 @@ class VendorTenantServiceTest {
vendorTenantService = new VendorTenantService(
tenantService, tenantRepository, licenseService,
tenantProvisioner, serverApiClient, logtoClient, logtoConfig,
auditService, provisioningProps, dataCleanupService);
auditService, provisioningProps, dataCleanupService, tenantDatabaseService);
}
// --- Helpers ---