diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-24 02:12:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-24 02:12:55 +0300 |
commit | 10de3936d6da2fa17565d36715ea5af81727a5c8 (patch) | |
tree | d487cb9f9739901484499f062e1db0bf5435a4c5 /src/animatedsprite_unittest.cc | |
parent | 07a9b9009f7b05fc39540430fa6639b493ed9829 (diff) | |
download | ManaVerse-10de3936d6da2fa17565d36715ea5af81727a5c8.tar.gz ManaVerse-10de3936d6da2fa17565d36715ea5af81727a5c8.tar.bz2 ManaVerse-10de3936d6da2fa17565d36715ea5af81727a5c8.tar.xz ManaVerse-10de3936d6da2fa17565d36715ea5af81727a5c8.zip |
Fix unit tests.
Diffstat (limited to 'src/animatedsprite_unittest.cc')
-rw-r--r-- | src/animatedsprite_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/animatedsprite_unittest.cc b/src/animatedsprite_unittest.cc index 10994c7f7..804d24187 100644 --- a/src/animatedsprite_unittest.cc +++ b/src/animatedsprite_unittest.cc @@ -45,9 +45,8 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") XML::initXML(); SDL_Init(SDL_INIT_VIDEO); logger = new Logger(); - ResourceManager *resman = ResourceManager::getInstance(); - resman->addToSearchPath("data", false); - resman->addToSearchPath("../data", false); + resourceManager->addToSearchPath("data", false); + resourceManager->addToSearchPath("../data", false); imageHelper = new SDLImageHelper(); SDL_SetVideoMode(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); |