Skip to content

Commit

Permalink
FIX unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalan committed Aug 30, 2024
1 parent 89b4593 commit 3e0ac73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unittests/apiTypesV2/Entity_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ TEST(Entity, check)
enP->isPattern = "<false>";
EXPECT_EQ("Invalid value for isPattern", enP->check(EntitiesRequest));

delete enP;

utExit();
}

Expand Down Expand Up @@ -117,5 +119,7 @@ TEST(Entity, checkV1)
EXPECT_EQ("OK", testDataFromFile(expectedBuf, sizeof(expectedBuf), outfile1)) << "Error getting test data from '" << outfile1 << "'";
EXPECT_STREQ(expectedBuf, out.c_str());

delete enP;

utExit();
}

0 comments on commit 3e0ac73

Please sign in to comment.