|
|
@ -120,7 +120,8 @@ public class APIPublisherUtilTest extends BaseAPIPublisherTest {
|
|
|
|
|
|
|
|
|
|
|
|
private void startTenantFlowAsTestTenant() {
|
|
|
|
private void startTenantFlowAsTestTenant() {
|
|
|
|
PrivilegedCarbonContext.startTenantFlow();
|
|
|
|
PrivilegedCarbonContext.startTenantFlow();
|
|
|
|
PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantId(MultitenantConstants.SUPER_TENANT_ID, true);
|
|
|
|
PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantId(123,
|
|
|
|
|
|
|
|
false);
|
|
|
|
PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantDomain("test");
|
|
|
|
PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantDomain("test");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|