Drop superfluous annotations
Update internal tests to drop annotations that can now be inferred. Fixes gh-5470
This commit is contained in:
@@ -19,7 +19,6 @@ package sample.testng;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import org.springframework.boot.context.web.LocalServerPort;
|
||||
import org.springframework.boot.test.context.SpringApplicationConfiguration;
|
||||
import org.springframework.boot.test.context.web.WebIntegrationTest;
|
||||
import org.springframework.boot.test.web.client.TestRestTemplate;
|
||||
import org.springframework.http.HttpStatus;
|
||||
@@ -34,7 +33,6 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
@SpringApplicationConfiguration(SampleTestNGApplication.class)
|
||||
@WebIntegrationTest("server.port:0")
|
||||
@DirtiesContext
|
||||
public class SampleTestNGApplicationTests extends AbstractTestNGSpringContextTests {
|
||||
|
||||
Reference in New Issue
Block a user