|
|
@ -74,9 +74,6 @@ public class ScriptCalculatedFieldStateTest { |
|
|
@MockBean |
|
|
@MockBean |
|
|
private ApiLimitService apiLimitService; |
|
|
private ApiLimitService apiLimitService; |
|
|
|
|
|
|
|
|
// @MockBean
|
|
|
|
|
|
// private MeterRegistry meterRegistry;
|
|
|
|
|
|
|
|
|
|
|
|
@BeforeEach |
|
|
@BeforeEach |
|
|
void setUp() { |
|
|
void setUp() { |
|
|
when(apiLimitService.getLimit(any(), any())).thenReturn(1000L); |
|
|
when(apiLimitService.getLimit(any(), any())).thenReturn(1000L); |
|
|
|