mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Remove redundant @ExtendWith(SpringExtension.class) for sample
See gh-32476
This commit is contained in:
parent
1928177da2
commit
5db6cc1cba
@ -19,16 +19,13 @@ package org.springframework.boot.docs.features.testing.springbootapplications.jm
|
||||
import javax.management.MBeanServer;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.annotation.DirtiesContext;
|
||||
import org.springframework.test.context.junit.jupiter.SpringExtension;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@ExtendWith(SpringExtension.class)
|
||||
@SpringBootTest(properties = "spring.jmx.enabled=true")
|
||||
@DirtiesContext
|
||||
class MyJmxTests {
|
||||
|
Loading…
Reference in New Issue
Block a user