summaryrefslogtreecommitdiff
path: root/test/sprite
diff options
context:
space:
mode:
Diffstat (limited to 'test/sprite')
-rw-r--r--test/sprite/sprite_store.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sprite/sprite_store.cpp b/test/sprite/sprite_store.cpp
index c1b79c7cc6..8f9aebbe67 100644
--- a/test/sprite/sprite_store.cpp
+++ b/test/sprite/sprite_store.cpp
@@ -220,15 +220,15 @@ TEST(SpriteStore, LoadingCorrupted) {
}
TEST(SpriteStore, LoadingCancel) {
- SpriteStoreTest test(MockFileSource::SuccessWithDelay, "sprite.json");
+ SpriteStoreTest test(MockFileSource::Success, "sprite.json");
test.observer.spriteLoaded = [&] () {
FAIL() << "Should never be called";
};
- test.fileSource.setOnRequestDelayedCallback([&]{
+ test.fileSource.requestEnqueuedCallback = [&]{
test.end();
- });
+ };
test.run("test/fixtures/resources/sprite");
}