File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/test/java/springAngularApp/configuration/ws Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1111import springAngularApp .configuration .ws .schema .ConfigurationModelResponse ;
1212import springAngularApp .system .service .AuthProvider ;
1313
14+ import java .io .IOException ;
15+
1416import static org .assertj .core .api .Assertions .assertThat ;
1517import static org .mockito .Mockito .when ;
1618import 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}
You can’t perform that action at this time.
0 commit comments