diff --git a/history/taskana-simplehistory-spring-test/src/test/java/pro/taskana/TaskHistoryEventControllerIntTest.java b/history/taskana-simplehistory-spring-test/src/test/java/pro/taskana/TaskHistoryEventControllerIntTest.java index 54f123bca..3d8f805a0 100644 --- a/history/taskana-simplehistory-spring-test/src/test/java/pro/taskana/TaskHistoryEventControllerIntTest.java +++ b/history/taskana-simplehistory-spring-test/src/test/java/pro/taskana/TaskHistoryEventControllerIntTest.java @@ -11,7 +11,6 @@ import org.assertj.core.api.ThrowableAssert.ThrowingCallable; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.factory.annotation.Value; -import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.web.server.LocalServerPort; import org.springframework.core.ParameterizedTypeReference; @@ -32,7 +31,6 @@ import pro.taskana.simplehistory.rest.resource.TaskHistoryEventListResource; import pro.taskana.simplehistory.rest.resource.TaskHistoryEventResource; /** Controller for integration test. */ -@EnableAutoConfiguration @ExtendWith(SpringExtension.class) @SpringBootTest( classes = {TaskHistoryRestConfiguration.class}, @@ -106,7 +104,7 @@ public class TaskHistoryEventControllerIntTest { public void should_ReturnSpecificTaskHistoryEventWithDetails_When_SingleEventIsQueried() { ResponseEntity response = template.exchange( - server + port + "/api/v1/task-history-event/47", + server + port + "/api/v1/task-history-event/45", HttpMethod.GET, request, ParameterizedTypeReference.forType(TaskHistoryEventResource.class)); diff --git a/history/taskana-simplehistory-spring-test/src/test/java/pro/taskana/TaskHistoryEventResourceAssemblerTest.java b/history/taskana-simplehistory-spring-test/src/test/java/pro/taskana/TaskHistoryEventResourceAssemblerTest.java index 1a3345dca..fd2b4fdcf 100644 --- a/history/taskana-simplehistory-spring-test/src/test/java/pro/taskana/TaskHistoryEventResourceAssemblerTest.java +++ b/history/taskana-simplehistory-spring-test/src/test/java/pro/taskana/TaskHistoryEventResourceAssemblerTest.java @@ -6,7 +6,6 @@ import java.time.Instant; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit.jupiter.SpringExtension; @@ -17,7 +16,6 @@ import pro.taskana.simplehistory.rest.resource.TaskHistoryEventResourceAssembler import pro.taskana.spi.history.api.events.TaskanaHistoryEvent; /** Test for {@link TaskHistoryEventResourceAssembler}. */ -@EnableAutoConfiguration @ExtendWith(SpringExtension.class) @SpringBootTest( classes = {TaskHistoryRestConfiguration.class},