Skip to content

Commit cf44fde

Browse files
committed
test: update exception message asserted due to Spring change
spring-projects/spring-framework#29847 (cherry picked from commit 8d7bd2e)
1 parent f1f7d72 commit cf44fde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gravitee-apim-gateway/gravitee-apim-gateway-handlers/gravitee-apim-gateway-handlers-api/src/test/java/io/gravitee/gateway/handlers/api/context/ApiTemplateVariableProviderTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void should_throw_when_evaluate_null_api_properties_in_EL() {
113113
assertThat(e)
114114
.isInstanceOf(ExpressionEvaluationException.class)
115115
.hasCauseInstanceOf(SpelEvaluationException.class)
116-
.hasStackTraceContaining("EL1007E: Property or field 'prop2' cannot be found on null");
116+
.hasStackTraceContaining("EL1012E: Cannot index into a null value");
117117

118118
return true;
119119
});

gravitee-apim-gateway/gravitee-apim-gateway-handlers/gravitee-apim-gateway-handlers-api/src/test/java/io/gravitee/gateway/reactive/handlers/api/el/ApiTemplateVariableProviderTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void should_throw_when_evaluate_null_api_properties_in_EL() {
8181
assertThat(e)
8282
.isInstanceOf(ExpressionEvaluationException.class)
8383
.hasCauseInstanceOf(SpelEvaluationException.class)
84-
.hasStackTraceContaining("EL1007E: Property or field 'prop1' cannot be found on null");
84+
.hasStackTraceContaining("EL1012E: Cannot index into a null value");
8585

8686
return true;
8787
});

0 commit comments

Comments
 (0)