summaryrefslogtreecommitdiff
path: root/battleNetApi/tests/tests.cpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-01-18 23:21:47 +0100
committerAotrix <[email protected]>2026-01-18 23:21:47 +0100
commitb93862f9f1fab10a569c9706335b6133fe44d996 (patch)
tree6ae8865294f27fbbcc0b4ec082424a3d0386d3a4 /battleNetApi/tests/tests.cpp
parent06109ce40a8b8a9eecf359a006e06227200e768b (diff)
fixed tests
Diffstat (limited to 'battleNetApi/tests/tests.cpp')
-rw-r--r--battleNetApi/tests/tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/battleNetApi/tests/tests.cpp b/battleNetApi/tests/tests.cpp
index 2c3a2ff..697b62f 100644
--- a/battleNetApi/tests/tests.cpp
+++ b/battleNetApi/tests/tests.cpp
@@ -48,7 +48,7 @@ TEST_CASE("Retrieve number of cards", "[getCardsCount]") {
aApiUrl.setGameMode("constructed");
aApiUrl.setPageSize("1");
std::uint64_t kNumberOfCards{aHearthstoneApi.numberOfCards(aHearthstoneApi.makeApiRequest(aApiUrl()))};
- REQUIRE(kNumberOfCards == 5992);
+ REQUIRE(kNumberOfCards == 6033);
}
TEST_CASE("Retrieve cards", "[retrieveCards]") {
@@ -60,5 +60,5 @@ TEST_CASE("Retrieve cards", "[retrieveCards]") {
aApiUrl.setGameMode("constructed");
aApiUrl.setPageSize("10");
const std::string kApiResponse{aHearthstoneApi.makeApiRequest(aApiUrl())};
- REQUIRE(kApiResponse.size() > 6000);
+ REQUIRE(kApiResponse.size() > 5000);
}