Skip to content

Commit 91cc283

Browse files
committed
Upgrade to JUnit Jupiter 5.7.0
Closes gh-23351
1 parent f3087d0 commit 91cc283

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ bom {
885885
]
886886
}
887887
}
888-
library("JUnit Jupiter", "5.6.2") {
888+
library("JUnit Jupiter", "5.7.0") {
889889
group("org.junit") {
890890
imports = [
891891
"junit-bom"

spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/mockmvc/WebMvcTestPrintDefaultIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -45,7 +45,7 @@
4545
* @author Andy Wilkinson
4646
*/
4747
@ExtendWith(OutputCaptureExtension.class)
48-
@TestMethodOrder(MethodOrderer.Alphanumeric.class)
48+
@TestMethodOrder(MethodOrderer.MethodName.class)
4949
class WebMvcTestPrintDefaultIntegrationTests {
5050

5151
@Test

spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/mockmvc/WebMvcTestWebDriverCustomScopeIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@
3939
* @author Phillip Webb
4040
*/
4141
@WebMvcTest
42-
@TestMethodOrder(MethodOrderer.Alphanumeric.class)
42+
@TestMethodOrder(MethodOrderer.MethodName.class)
4343
class WebMvcTestWebDriverCustomScopeIntegrationTests {
4444

4545
// gh-7454

spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/mockmvc/WebMvcTestWebDriverIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@
3838
*/
3939
@WebMvcTest
4040
@WithMockUser
41-
@TestMethodOrder(MethodOrderer.Alphanumeric.class)
41+
@TestMethodOrder(MethodOrderer.MethodName.class)
4242
class WebMvcTestWebDriverIntegrationTests {
4343

4444
private static WebDriver previousWebDriver;

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/mock/mockito/ResetMocksTestExecutionListenerTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@
4141
* @author Andy Wilkinson
4242
*/
4343
@ExtendWith(SpringExtension.class)
44-
@TestMethodOrder(MethodOrderer.Alphanumeric.class)
44+
@TestMethodOrder(MethodOrderer.MethodName.class)
4545
class ResetMocksTestExecutionListenerTests {
4646

4747
@Autowired

0 commit comments

Comments
 (0)