summaryrefslogtreecommitdiff
path: root/src/integrity_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-11 17:24:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-11 17:24:19 +0300
commitece98b5c7baefc8fe0326bdfea8de4fe14ed0bf2 (patch)
treef41ca28dd48a621b421d187ffcc5553d298f570d /src/integrity_unittest.cc
parent7f5f2394d3f3dccf2e6a07a466f3840dafed8e04 (diff)
downloadplus-ece98b5c7baefc8fe0326bdfea8de4fe14ed0bf2.tar.gz
plus-ece98b5c7baefc8fe0326bdfea8de4fe14ed0bf2.tar.bz2
plus-ece98b5c7baefc8fe0326bdfea8de4fe14ed0bf2.tar.xz
plus-ece98b5c7baefc8fe0326bdfea8de4fe14ed0bf2.zip
Fix asserts in unit tests.
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r--src/integrity_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc
index 432163214..45c36b0ce 100644
--- a/src/integrity_unittest.cc
+++ b/src/integrity_unittest.cc
@@ -25,6 +25,8 @@
#include "logger.h"
#include "graphicsmanager.h"
+#include "being/actorsprite.h"
+
#include "input/inputactionmap.h"
#include "input/inputmanager.h"
@@ -79,6 +81,7 @@ TEST_CASE("integrity tests", "integrity")
#else
graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
#endif
+ ActorSprite::load();
SECTION("integrity test 1")
{