We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c57e3da commit 71951f8Copy full SHA for 71951f8
src/test/java/dev/openfeature/sdk/e2e/steps/FlagStepDefinitions.java
@@ -97,8 +97,8 @@ public void the_error_code_should_be(String errorCode) {
97
}
98
99
@Then("the error message should contain {string}")
100
- public void the_error_error_message_should_contain(String errorCode) {
101
- assertThat(state.evaluation.getErrorMessage()).contains(errorCode);
+ public void the_error_message_should_contain(String messageSubstring) {
+ assertThat(state.evaluation.getErrorMessage()).contains(messageSubstring);
102
103
104
@Then("the resolved metadata value \"{}\" with type \"{}\" should be \"{}\"")
0 commit comments