Skip to content

Commit

Permalink
[AAE-16206] init fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-piotrowiak committed Sep 7, 2023
1 parent ecc64ea commit 5b98a63
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.activiti.cloud.services.modeling.rest.controller;

import static io.restassured.module.mockmvc.RestAssuredMockMvc.given;
import static io.restassured.module.mockmvc.RestAssuredMockMvc.webAppContextSetup;
import static org.activiti.cloud.services.common.util.ContentTypeUtils.CONTENT_TYPE_JSON;
import static org.activiti.cloud.services.common.util.FileUtils.resourceAsByteArray;
import static org.activiti.cloud.services.modeling.asserts.AssertResponse.assertThatResponse;
Expand Down Expand Up @@ -71,7 +70,6 @@ public class ConnectorValidationControllerIT {

@BeforeEach
public void setUp() {
webAppContextSetup(context);
when(securityManager.getAuthenticatedUserId()).thenReturn("modeler");
connectorModel = modelRepository.createModel(connectorModel("connector-name"));
mockMvc = MockMvcBuilders.webAppContextSetup(context).build();
Expand Down

0 comments on commit 5b98a63

Please sign in to comment.