From 7b880dd135ba0f8ca5641cb32b24520f7ea6fa75 Mon Sep 17 00:00:00 2001 From: Dhawal Kapil Date: Wed, 23 Mar 2022 08:39:37 +0530 Subject: [PATCH] JAVA-10377 Removed @RunWith as there is no specific configuration class needed to run this test --- .../src/test/java/com/baeldung/SpringContextTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/spring-web-modules/spring-resttemplate/src/test/java/com/baeldung/SpringContextTest.java b/spring-web-modules/spring-resttemplate/src/test/java/com/baeldung/SpringContextTest.java index af7bcf9538..68b7f14916 100644 --- a/spring-web-modules/spring-resttemplate/src/test/java/com/baeldung/SpringContextTest.java +++ b/spring-web-modules/spring-resttemplate/src/test/java/com/baeldung/SpringContextTest.java @@ -1,11 +1,8 @@ package com.baeldung; import org.junit.Test; -import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class SpringContextTest {