aboutsummaryrefslogtreecommitdiff
path: root/src/test/ResourceManagerTest.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-29 12:21:26 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-29 12:21:26 +0100
commitc2ef6a36532c8c078fd7836325d6be277b946cbf (patch)
treebcac24106220ad626aca5dfcd3576e7d60ac3af2 /src/test/ResourceManagerTest.cpp
parent74bffd3e466c342ca80811146a536716fb6437cb (diff)
parent7a07c56d572a6f30d0aa611bd566197bc04c3b33 (diff)
merge `loek/scripts`
Diffstat (limited to 'src/test/ResourceManagerTest.cpp')
-rw-r--r--src/test/ResourceManagerTest.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/ResourceManagerTest.cpp b/src/test/ResourceManagerTest.cpp
index cc3b022..1f56e23 100644
--- a/src/test/ResourceManagerTest.cpp
+++ b/src/test/ResourceManagerTest.cpp
@@ -4,7 +4,7 @@
#define protected public
#include <crepe/util/Log.h>
-#include <crepe/ResourceManager.h>
+#include <crepe/manager/ResourceManager.h>
#include <crepe/api/GameObject.h>
using namespace std;
@@ -12,8 +12,9 @@ using namespace crepe;
using namespace testing;
class ResourceManagerTest : public Test {
+ Mediator mediator;
public:
- ResourceManager resource_manager{};
+ ResourceManager resource_manager{mediator};
Asset asset_a{"asset/texture/img.png"};
Asset asset_b{"asset/texture/ERROR.png"};