Skip to content

Commit cb191df

Browse files
committed
Merge branch '2.6.x' into 2.7.x
Closes gh-32515
2 parents eb4b0a3 + f415541 commit cb191df

File tree

2 files changed

+0
-6
lines changed
  • spring-boot-project/spring-boot-docs/src/main
    • java/org/springframework/boot/docs/features/testing/springbootapplications/jmx
    • kotlin/org/springframework/boot/docs/features/testing/springbootapplications/jmx

2 files changed

+0
-6
lines changed

spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/testing/springbootapplications/jmx/MyJmxTests.java

-3
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@
1919
import javax.management.MBeanServer;
2020

2121
import org.junit.jupiter.api.Test;
22-
import org.junit.jupiter.api.extension.ExtendWith;
2322

2423
import org.springframework.beans.factory.annotation.Autowired;
2524
import org.springframework.boot.test.context.SpringBootTest;
2625
import org.springframework.test.annotation.DirtiesContext;
27-
import org.springframework.test.context.junit.jupiter.SpringExtension;
2826

2927
import static org.assertj.core.api.Assertions.assertThat;
3028

31-
@ExtendWith(SpringExtension.class)
3229
@SpringBootTest(properties = "spring.jmx.enabled=true")
3330
@DirtiesContext
3431
class MyJmxTests {

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/testing/springbootapplications/jmx/MyJmxTests.kt

-3
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,11 @@ package org.springframework.boot.docs.features.testing.springbootapplications.jm
1818

1919
import org.assertj.core.api.Assertions.assertThat
2020
import org.junit.jupiter.api.Test
21-
import org.junit.jupiter.api.extension.ExtendWith
2221
import org.springframework.beans.factory.annotation.Autowired
2322
import org.springframework.boot.test.context.SpringBootTest
2423
import org.springframework.test.annotation.DirtiesContext
25-
import org.springframework.test.context.junit.jupiter.SpringExtension
2624
import javax.management.MBeanServer
2725

28-
@ExtendWith(SpringExtension::class)
2926
@SpringBootTest(properties = ["spring.jmx.enabled=true"])
3027
@DirtiesContext
3128
class MyJmxTests(@Autowired val mBeanServer: MBeanServer) {

0 commit comments

Comments
 (0)