From 10de3936d6da2fa17565d36715ea5af81727a5c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Aug 2015 02:12:55 +0300 Subject: Fix unit tests. --- src/utils/files_unittest.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/utils/files_unittest.cc') diff --git a/src/utils/files_unittest.cc b/src/utils/files_unittest.cc index 5d227834e..b10c5acda 100644 --- a/src/utils/files_unittest.cc +++ b/src/utils/files_unittest.cc @@ -34,9 +34,8 @@ TEST_CASE("Files renameFile", "files") PHYSFS_init("manaplus"); dirSeparator = "/"; logger = new Logger(); - const ResourceManager *const resman = ResourceManager::getInstance(); - resman->addToSearchPath("data", false); - resman->addToSearchPath("../data", false); + resourceManager->addToSearchPath("data", false); + resourceManager->addToSearchPath("../data", false); const int sz = 1234567; char *buf = new char[sz]; -- cgit v1.2.3-60-g2f50