Fix broken tests
This commit is contained in:
@@ -58,7 +58,7 @@ class FailingTestBeanInheritanceIntegrationTests {
|
||||
message("""
|
||||
Found 2 competing static test bean factory methods in %s with return type %s \
|
||||
whose name matches one of the supported candidates \
|
||||
[thirdBeanTestOverride, anotherBeanTestOverride]"""
|
||||
[anotherBeanTestOverride, thirdBeanTestOverride]"""
|
||||
.formatted(testClass.getName(), AbstractTestBeanIntegrationTestCase.Pojo.class.getName())))));
|
||||
}
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ class TestBeanOverrideProcessorTests {
|
||||
.withMessage("""
|
||||
Failed to find a static test bean factory method in %s with return type %s \
|
||||
whose name matches one of the supported candidates %s""",
|
||||
clazz.getName(), returnType.getName(), List.of("someFieldTestOverride", "fieldTestOverride"));
|
||||
clazz.getName(), returnType.getName(), List.of("fieldTestOverride", "someFieldTestOverride"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user