|
|
@@ -23,6 +23,7 @@ import org.junit.jupiter.api.Test;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.boot.resttestclient.TestRestTemplate;
|
|
|
+import org.springframework.boot.resttestclient.autoconfigure.AutoConfigureTestRestTemplate;
|
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
|
import org.springframework.http.HttpEntity;
|
|
|
import org.springframework.http.HttpHeaders;
|
|
|
@@ -42,6 +43,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|
|
* @since 5.0
|
|
|
*/
|
|
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
|
|
+@AutoConfigureTestRestTemplate
|
|
|
public class HelloObservabilityApplicationITests {
|
|
|
|
|
|
@Autowired
|