Skip to content

Commit f96653f

Browse files
committed
small cleanup
1 parent 10d6565 commit f96653f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/java/springAngularApp/configuration/ws/ConfigurationWebServiceTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
import springAngularApp.configuration.ws.schema.ConfigurationModelResponse;
1212
import springAngularApp.system.service.AuthProvider;
1313

14+
import java.io.IOException;
15+
1416
import static org.assertj.core.api.Assertions.assertThat;
1517
import static org.mockito.Mockito.when;
1618
import static org.springframework.http.MediaType.APPLICATION_JSON;
@@ -74,7 +76,7 @@ public void model_HasNoUserGroupViewAccess_UserGroupViewAccessIsFalseInResponse(
7476
assertThat(actualConfigurationModelResponse.isHasUserGroupViewAccess()).isFalse();
7577
}
7678

77-
private ConfigurationModelResponse getConfigurationResponse(MockHttpServletResponse response) throws java.io.IOException {
79+
private ConfigurationModelResponse getConfigurationResponse(MockHttpServletResponse response) throws IOException {
7880
return fromJSON(ConfigurationModelResponse.class, response.getContentAsString());
7981
}
8082

@@ -85,5 +87,4 @@ private MockHttpServletResponse sendValidRequestForAttributes() throws Exception
8587
.andReturn().getResponse();
8688
}
8789

88-
8990
}

0 commit comments

Comments
 (0)