summaryrefslogtreecommitdiff
path: root/battleNetApi/tests/tests.cpp
diff options
context:
space:
mode:
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");