Skip to content

Commit

Permalink
Remove redundant @ExtendWith(SpringExtension.class) for sample
Browse files Browse the repository at this point in the history
  • Loading branch information
1993heqiang authored and snicoll committed Sep 27, 2022
1 parent 1928177 commit 5db6cc1
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 5db6cc1

Please sign in to comment.