Commit c0cbc1a7 authored by dietricf's avatar dietricf
Browse files

Fix sudden bug in tests

parent c16bd5fd
......@@ -80,12 +80,13 @@ public class ImportServiceTest {
private ProcessHelper processHelper;
public void shouldImportDifferentRadiiProperly() throws Exception {
void shouldImportDifferentRadiiProperly() throws Exception {
List<RadiusDto> radiusDtos = getRadiusDtoList();
FailureInformationDto failureInformationDto = MockDataHelper.mockFailureInformationDto();
Whitebox.setInternalState(importService, "radiusService", radiusService); // don't know why this is needed suddenly
Whitebox.invokeMethod(importService, "importRadius", 10L, failureInformationDto);
assertEquals(radiusDtos.get(0).getUuid(), failureInformationDto.getRadiusId());
Markdown is supported
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