fix: update tests for ProvisioningProperties runtimeBaseImage field
Some checks failed
CI / build (push) Failing after 1m22s
CI / docker (push) Has been skipped

Add missing runtimeBaseImage arg to ProvisioningProperties constructor
calls in tests. Also add missing self-proxy arg to VendorTenantService
constructor (pre-existing from async provisioning commit).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-15 23:27:53 +02:00
parent 338db5dcda
commit 97b2235914
2 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ class TenantPortalServiceTest {
private TenantProvisioner tenantProvisioner; private TenantProvisioner tenantProvisioner;
private final ProvisioningProperties provisioningProps = new ProvisioningProperties( private final ProvisioningProperties provisioningProps = new ProvisioningProperties(
null, null, null, null, "test.example.com", "https", null, null, null, null, null, null, null, null, null); null, null, null, null, null, "test.example.com", "https", null, null, null, null, null, null, null, null, null);
private TenantPortalService tenantPortalService; private TenantPortalService tenantPortalService;

View File

@@ -75,14 +75,14 @@ class VendorTenantServiceTest {
@BeforeEach @BeforeEach
void setUp() { void setUp() {
var provisioningProps = new ProvisioningProperties( var provisioningProps = new ProvisioningProperties(
"img", "uiimg", "net", "traefik", "localhost", "https", "img", "uiimg", "runtime-base:latest", "net", "traefik", "localhost", "https",
"jdbc:postgresql://pg:5432/db", "cameleer", "cameleer_dev", "jdbc:postgresql://pg:5432/db", "cameleer", "cameleer_dev",
"jdbc:clickhouse://ch:8123/cameleer", "default", "cameleer_ch", "jdbc:clickhouse://ch:8123/cameleer", "default", "cameleer_ch",
"https://localhost/oidc", "http://cameleer-logto:3001/oidc/jwks", "https://localhost"); "https://localhost/oidc", "http://cameleer-logto:3001/oidc/jwks", "https://localhost");
vendorTenantService = new VendorTenantService( vendorTenantService = new VendorTenantService(
tenantService, tenantRepository, licenseService, tenantService, tenantRepository, licenseService,
tenantProvisioner, serverApiClient, logtoClient, logtoConfig, tenantProvisioner, serverApiClient, logtoClient, logtoConfig,
auditService, provisioningProps, dataCleanupService, tenantDatabaseService); auditService, provisioningProps, dataCleanupService, tenantDatabaseService, null);
} }
// --- Helpers --- // --- Helpers ---