summaryrefslogtreecommitdiff
path: root/src/resources/map/speciallayer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/speciallayer_unittest.cc')
-rw-r--r--src/resources/map/speciallayer_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/map/speciallayer_unittest.cc b/src/resources/map/speciallayer_unittest.cc
index 6c6772332..70f3d07e1 100644
--- a/src/resources/map/speciallayer_unittest.cc
+++ b/src/resources/map/speciallayer_unittest.cc
@@ -20,6 +20,7 @@
#include "catch.hpp"
#include "client.h"
+#include "logger.h"
#include "graphicsmanager.h"
@@ -40,6 +41,7 @@
TEST_CASE("SpecialLayer updateCache")
{
+ logger = new Logger;
client = new Client;
ResourceManager::init();
VirtFs::addDirToSearchPath("data", Append_false);
@@ -259,4 +261,5 @@ TEST_CASE("SpecialLayer updateCache")
delete layer;
resourceManager->cleanOrphans();
delete2(client);
+ delete2(logger);
}