Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ public static String getBootstrapTenant() {
return TenantConstants.BOOTSTRAP_SYSTEM_USER;
}

public static boolean isBootstrapTenant(String tenantCode) {
return TenantConstants.BOOTSTRAP_SYSTEM_USER.equals(tenantCode);
}

public static boolean tenantExists(String tenantCode) {
return OSUtils.getUserList().contains(tenantCode);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,22 @@ public class WorkerRegistryClientTest {

@InjectMocks
private WorkerRegistryClient workerRegistryClient;

@Mock
private RegistryClient registryClient;

@Mock
private WorkerServerLoadProtection workerServerLoadProtection;

@Mock
private WorkerConfig workerConfig;

@Mock
private MetricsProvider metricsProvider;

@Mock
private PhysicalTaskExecutorContainerProvider physicalTaskExecutorContainerDelegator;

@Mock
private IStoppable stoppable;

Expand Down
Loading