Skip to content

Commit

Permalink
IT assert change
Browse files Browse the repository at this point in the history
Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
  • Loading branch information
petardz committed Oct 29, 2022
1 parent a3358fb commit ea67748
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void testCreatingARule_validationFail_noRuleIndex() throws IOException {
new StringEntity(rule), new BasicHeader("Content-Type", "application/json"));
fail();
} catch (ResponseException e) {
assertTrue(e.getMessage().contains("\"reason\":\"no such index [.opensearch-sap-detectors-queries-windows]\"}]"));
assertTrue(e.getMessage().contains("no such index [.opensearch-sap-detectors-queries-windows]"));
}

}
Expand Down

0 comments on commit ea67748

Please sign in to comment.