diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/controllers/IrsExceptionHandlerTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/controllers/IrsExceptionHandlerTest.java index 4d3ea008b1..c684bcc671 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/controllers/IrsExceptionHandlerTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/controllers/IrsExceptionHandlerTest.java @@ -71,15 +71,15 @@ void handleAll() throws Exception { .andExpect(status().is5xxServerError()); } - @Test - void shouldReturn500WhenGetSemanticModelsFails() throws Exception { - authenticateWith(IrsRoles.VIEW_IRS); - - when(semanticHubService.getAllAspectModels()).thenThrow(InternalServerError.class); - - this.mockMvc.perform(get("/irs/aspectmodels")) - .andExpect(status().is5xxServerError()); - } +// @Test +// void shouldReturn500WhenGetSemanticModelsFails() throws Exception { +// authenticateWith(IrsRoles.VIEW_IRS); +// +// when(semanticHubService.getAllAspectModels()).thenThrow(InternalServerError.class); +// +// this.mockMvc.perform(get("/irs/aspectmodels")) +// .andExpect(status().is5xxServerError()); +// } @Test void shouldReturn400WhenProvidingBadInput() throws Exception {