Skip to content

Commit 09c1023

Browse files
committed
1 parent 699d3f1 commit 09c1023

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-test/src/main/java/org/springframework/test/context/support/TestConstructorUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ public static boolean isAutowirableConstructor(Constructor<?> constructor, Class
9191
return true;
9292
}
9393

94-
// Default to Autowire.ANNOTATED semantics.
95-
AutowireMode autowireMode = AutowireMode.ANNOTATED;
94+
AutowireMode autowireMode = null;
9695

9796
// Is the test class annotated with @TestConstructor?
9897
TestConstructor testConstructor = AnnotatedElementUtils.findMergedAnnotation(testClass, TestConstructor.class);

0 commit comments

Comments
 (0)