Skip to content

Commit

Permalink
test: update exception message asserted due to Spring change
Browse files Browse the repository at this point in the history
  • Loading branch information
jgiovaresco committed Feb 14, 2025
1 parent 13d82ce commit 2d18049
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void should_throw_when_evaluate_null_api_properties_in_EL() {
assertThat(e)
.isInstanceOf(ExpressionEvaluationException.class)
.hasCauseInstanceOf(SpelEvaluationException.class)
.hasStackTraceContaining("EL1007E: Property or field 'prop1' cannot be found on null");
.hasStackTraceContaining("EL1012E: Cannot index into a null value");

return true;
});
Expand Down Expand Up @@ -183,7 +183,7 @@ void should_throw_when_evaluate_null_api_properties_in_EL() {
assertThat(e)
.isInstanceOf(ExpressionEvaluationException.class)
.hasCauseInstanceOf(SpelEvaluationException.class)
.hasStackTraceContaining("EL1007E: Property or field 'prop1' cannot be found on null");
.hasStackTraceContaining("EL1012E: Cannot index into a null value");

return true;
});
Expand Down

0 comments on commit 2d18049

Please sign in to comment.