Skip to content

Commit

Permalink
Merge pull request #32476 from 1993heqiang
Browse files Browse the repository at this point in the history
* pr/32476:
  Remove redundant @ExtendWith(SpringExtension.class) for sample

Closes gh-32476
  • Loading branch information
snicoll committed Sep 27, 2022
2 parents 1928177 + 5db6cc1 commit f415541
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -19,16 +19,13 @@
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 {
Expand Down

0 comments on commit f415541

Please sign in to comment.