You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GH-191 - Prevent premature access of ApplicationContext from ParameterResolver implementations.
We now avoid accessing the ApplicationContext from a BeforeAllCallback as this might cause the context initialization before other extensions had time to kick in.
Copy file name to clipboardExpand all lines: spring-modulith-test/src/main/java/org/springframework/modulith/test/PublishedEventsParameterResolver.java
privatestaticfinalStringMISSING_TRANSACTION_TEMPLATE = "To use a Scenario in an integration test you need to define a bean of type TransactionTemplate! Please check your ApplicationContext setup.";
36
36
@@ -43,6 +43,15 @@ public ScenarioParameterResolver() {
Copy file name to clipboardExpand all lines: spring-modulith-test/src/test/java/org/springframework/modulith/test/PublishedEventsParameterResolverUnitTests.java
0 commit comments