Skip to content

Commit

Permalink
test(libddwaf): bump to 1.20.1
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Rulleau <[email protected]>
  • Loading branch information
Leiyks committed Oct 28, 2024
1 parent 9b972be commit f9cdb9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions appsec/tests/helper/client_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ TEST(ClientTest, ClientInit)
EXPECT_STREQ(msg_res->status.c_str(), "ok");
EXPECT_EQ(msg_res->meta.size(), 2);
EXPECT_STREQ(
msg_res->meta[std::string(tag::waf_version)].c_str(), "1.20.0");
msg_res->meta[std::string(tag::waf_version)].c_str(), "1.20.1");
EXPECT_STREQ(
msg_res->meta[std::string(tag::event_rules_errors)].c_str(), "{}");

Expand Down Expand Up @@ -264,7 +264,7 @@ TEST(ClientTest, ClientInitInvalidRules)
EXPECT_STREQ(msg_res->status.c_str(), "ok");
EXPECT_EQ(msg_res->meta.size(), 2);
EXPECT_STREQ(
msg_res->meta[std::string(tag::waf_version)].c_str(), "1.20.0");
msg_res->meta[std::string(tag::waf_version)].c_str(), "1.20.1");

rapidjson::Document doc;
doc.Parse(msg_res->meta[std::string(tag::event_rules_errors)]);
Expand Down
2 changes: 1 addition & 1 deletion appsec/tests/helper/waf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ TEST(WafTest, InitWithInvalidRules)
waf::instance::from_settings(cs, ruleset, meta, metrics)};

EXPECT_EQ(meta.size(), 2);
EXPECT_STREQ(meta[std::string(tag::waf_version)].c_str(), "1.20.0");
EXPECT_STREQ(meta[std::string(tag::waf_version)].c_str(), "1.20.1");

rapidjson::Document doc;
doc.Parse(meta[std::string(tag::event_rules_errors)]);
Expand Down

0 comments on commit f9cdb9e

Please sign in to comment.