|
|
@ -63,15 +63,15 @@ public abstract class BaseRestApiLimitsTest extends AbstractControllerTest { |
|
|
public void before() throws Exception { |
|
|
public void before() throws Exception { |
|
|
loginSysAdmin(); |
|
|
loginSysAdmin(); |
|
|
tenantProfile = getDefaultTenantProfile(); |
|
|
tenantProfile = getDefaultTenantProfile(); |
|
|
logout(); |
|
|
resetTokens(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@After |
|
|
@After |
|
|
public void after() throws Exception { |
|
|
public void after() throws Exception { |
|
|
logout(); |
|
|
resetTokens(); |
|
|
loginSysAdmin(); |
|
|
loginSysAdmin(); |
|
|
saveTenantProfileWitConfiguration(tenantProfile, new DefaultTenantProfileConfiguration()); |
|
|
saveTenantProfileWitConfiguration(tenantProfile, new DefaultTenantProfileConfiguration()); |
|
|
logout(); |
|
|
resetTokens(); |
|
|
service.shutdown(); |
|
|
service.shutdown(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -85,7 +85,7 @@ public abstract class BaseRestApiLimitsTest extends AbstractControllerTest { |
|
|
|
|
|
|
|
|
saveTenantProfileWitConfiguration(tenantProfile, configurationWithCustomerRestLimits); |
|
|
saveTenantProfileWitConfiguration(tenantProfile, configurationWithCustomerRestLimits); |
|
|
|
|
|
|
|
|
logout(); |
|
|
resetTokens(); |
|
|
|
|
|
|
|
|
loginCustomerUser(); |
|
|
loginCustomerUser(); |
|
|
|
|
|
|
|
|
@ -105,7 +105,7 @@ public abstract class BaseRestApiLimitsTest extends AbstractControllerTest { |
|
|
|
|
|
|
|
|
saveTenantProfileWitConfiguration(tenantProfile, configurationWithTenantRestLimits); |
|
|
saveTenantProfileWitConfiguration(tenantProfile, configurationWithTenantRestLimits); |
|
|
|
|
|
|
|
|
logout(); |
|
|
resetTokens(); |
|
|
|
|
|
|
|
|
loginCustomerUser(); |
|
|
loginCustomerUser(); |
|
|
|
|
|
|
|
|
@ -125,7 +125,7 @@ public abstract class BaseRestApiLimitsTest extends AbstractControllerTest { |
|
|
|
|
|
|
|
|
saveTenantProfileWitConfiguration(tenantProfile, configurationWithTenantRestLimits); |
|
|
saveTenantProfileWitConfiguration(tenantProfile, configurationWithTenantRestLimits); |
|
|
|
|
|
|
|
|
logout(); |
|
|
resetTokens(); |
|
|
|
|
|
|
|
|
loginTenantAdmin(); |
|
|
loginTenantAdmin(); |
|
|
|
|
|
|
|
|
|