Skip to content
Snippets Groups Projects
Commit de3b410b authored by Tobias Bruns's avatar Tobias Bruns
Browse files

OZG-6986 cleanup

parent 00cd8b0b
No related branches found
No related tags found
1 merge request!3Ozg 6988 add reporting
...@@ -21,7 +21,7 @@ import de.ozgcloud.common.test.TestUtils; ...@@ -21,7 +21,7 @@ import de.ozgcloud.common.test.TestUtils;
import lombok.SneakyThrows; import lombok.SneakyThrows;
@AutoConfigureMockMvc @AutoConfigureMockMvc
@WithMockUser(roles = "DATENBEAUFTRAGUNG") @WithMockUser(roles = UserRole.DATENBEAUFTRAGUNG)
@DataITCase @DataITCase
class ReportingSettingITCase { class ReportingSettingITCase {
...@@ -73,7 +73,6 @@ class ReportingSettingITCase { ...@@ -73,7 +73,6 @@ class ReportingSettingITCase {
@Test @Test
@SneakyThrows @SneakyThrows
@WithMockUser(roles = "DATENBEAUFTRAGUNG")
void shouldAddAggregationMappings() { void shouldAddAggregationMappings() {
mockMvc.perform(post("/api/configuration/aggregationMappings").with(csrf()) mockMvc.perform(post("/api/configuration/aggregationMappings").with(csrf())
.contentType(MediaType.APPLICATION_JSON).content(TestUtils.loadTextFile("reporting/request.json"))) .contentType(MediaType.APPLICATION_JSON).content(TestUtils.loadTextFile("reporting/request.json")))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment