Skip to content

Commit

Permalink
DELETE => HTTP_DELETE in unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
kzangeli committed Jan 11, 2024
1 parent e52a5ae commit 2095b0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ TEST(mongoCreateSubscriptions, createSubscriptionCustomOK)
sub.notification.attributes.push_back("D");
sub.notification.httpInfo.url = "http://foo.bar";
sub.notification.httpInfo.custom = true;
sub.notification.httpInfo.verb = PUT;
sub.notification.httpInfo.verb = HTTP_PUT;
sub.notification.httpInfo.headers.insert(std::pair<std::string, std::string>("X-My-Header", "foo"));
sub.notification.httpInfo.headers.insert(std::pair<std::string, std::string>("Content-Type", "text/plain"));
sub.notification.httpInfo.qs.insert(std::pair<std::string, std::string>("p1", "param1"));
Expand Down
4 changes: 2 additions & 2 deletions test/unittests/rest/restReply_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ TEST(restReply, MHD_create_response_from_data_error)

utInit();

orionldState.verb = GET;
orionldState.verb = HTTP_GET;

if (answer != NULL)
{
Expand All @@ -76,7 +76,7 @@ TEST(restReply, json)

utInit();

orionldState.verb = GET;
orionldState.verb = HTTP_GET;

restReply(&ci, "123");

Expand Down

0 comments on commit 2095b0b

Please sign in to comment.