Merge branch '2.7.x' into 3.0.x
Closes gh-34017
This commit is contained in:
@@ -22,7 +22,7 @@ import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.boot.test.context.SpringBootTest.UseMainMethod;
|
||||
|
||||
@SpringBootTest(useMainMethod = UseMainMethod.ALWAYS)
|
||||
public class MyApplicationTests {
|
||||
class MyApplicationTests {
|
||||
|
||||
@Test
|
||||
void exampleTest() {
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
|
||||
import org.springframework.boot.test.web.server.LocalServerPort;
|
||||
|
||||
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
|
||||
public class MyWebIntegrationTests {
|
||||
class MyWebIntegrationTests {
|
||||
|
||||
@LocalServerPort
|
||||
int port;
|
||||
|
||||
Reference in New Issue
Block a user