Browse Source

JsonNode change: Fix test

Alexander Wilms 1 year ago
parent
commit
5712c3f9f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/map/CMapFormatTest.cpp

+ 1 - 1
test/map/CMapFormatTest.cpp

@@ -95,7 +95,7 @@ static JsonNode getFromArchive(CZipLoader & archive, const std::string & archive
 
 	auto data = archive.load(resource)->readAll();
 
-	JsonNode res(reinterpret_cast<const std::byte *>(data.first.get()), data.second);
+	JsonNode res(reinterpret_cast<const std::byte *>(data.first.get()), data.second, resource.getName());
 
 	return res;
 }