summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/renderer/image_manager.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/renderer/image_manager.test.cpp b/test/renderer/image_manager.test.cpp
index 203e05d492..5e6da5c005 100644
--- a/test/renderer/image_manager.test.cpp
+++ b/test/renderer/image_manager.test.cpp
@@ -127,7 +127,7 @@ TEST(ImageManager, NotifiesRequestorWhenSpriteIsLoaded) {
imageManager.getImages(requestor, {"one"});
ASSERT_FALSE(notified);
- imageManager.onSpriteLoaded();
+ imageManager.setLoaded(true);
ASSERT_TRUE(notified);
}