diff options
| author | Aotrix <[email protected]> | 2026-02-01 02:55:28 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-02-01 02:55:28 +0100 |
| commit | 34ba40ca622a7362eb48618deae3c91eac4b6f9a (patch) | |
| tree | 997ad30acce5c04a3f8bad7af8279193f6783609 /battleNetApi/tests | |
| parent | a09398b0734a21c70e5ee3bc80cae49d49a70a22 (diff) | |
Download all the cards with API
Diffstat (limited to 'battleNetApi/tests')
| -rw-r--r-- | battleNetApi/tests/tests.cpp | 3 |
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"); |
