summaryrefslogtreecommitdiff
path: root/battleNetApi/tests/tests.cpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-02-01 02:55:28 +0100
committerAotrix <[email protected]>2026-02-01 02:55:28 +0100
commit34ba40ca622a7362eb48618deae3c91eac4b6f9a (patch)
tree997ad30acce5c04a3f8bad7af8279193f6783609 /battleNetApi/tests/tests.cpp
parenta09398b0734a21c70e5ee3bc80cae49d49a70a22 (diff)
Download all the cards with API
Diffstat (limited to 'battleNetApi/tests/tests.cpp')
-rw-r--r--battleNetApi/tests/tests.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/battleNetApi/tests/tests.cpp b/battleNetApi/tests/tests.cpp
index bafcdcb..d3321d3 100644
--- a/battleNetApi/tests/tests.cpp
+++ b/battleNetApi/tests/tests.cpp
@@ -10,7 +10,6 @@
#include <catch2/catch_test_macros.hpp>
#include <cstdint>
#include <fstream>
-#include <iostream>
#include <nlohmann/json.hpp>
#include <string>
@@ -117,7 +116,7 @@ TEST_CASE("Merge two card lists from two page requests", "[Merge pages]") {
json::reference aMergedCards = kFirstPage["cards"];
for (auto &card : kSecondPage["cards"]) {
- aMergedCards.push_back(card);
+ aMergedCards.push_back(std::move(card));
}
REQUIRE(aMergedCards.size() == 32);
std::ofstream aOutputJson("build/output_pages_merge.json");