Commit 99520c03 authored by harshit aggarwal's avatar harshit aggarwal
Browse files

minor fix

parent 6c1f574c
......@@ -25,7 +25,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
......@@ -115,7 +114,6 @@ public class TenantFactoryImpl implements ITenantFactory {
ti.setComplianceRuleSet(tenantInfoDoc.getComplianceRuleSet());
ti.setDataPartitionId(tenantName);
ti.setServiceAccount(tenantInfoDoc.getServiceprincipalAppId());
ti.setCrmAccountIds(Arrays.asList(tenantInfoDoc.getGroups()));
this.tenants.put(tenantName, ti);
}
);
......
......@@ -82,7 +82,6 @@ public class TenantFactoryImplTest {
expected.setDataPartitionId(tenantName);
expected.setComplianceRuleSet(complianceRuleSet);
expected.setServiceAccount(serviceprincipalAppId);
expected.setCrmAccountIds(Collections.singletonList("first"));
assertEquals(expected, result);
}
......@@ -109,7 +108,6 @@ public class TenantFactoryImplTest {
tenantInfo.setDataPartitionId(tenantName);
tenantInfo.setComplianceRuleSet(complianceRuleSet);
tenantInfo.setServiceAccount(serviceprincipalAppId);
tenantInfo.setCrmAccountIds(Collections.singletonList("first"));
List<TenantInfo> expected = Collections.singletonList(tenantInfo);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment