diff options
Diffstat (limited to 'src/unittests/resources')
-rw-r--r-- | src/unittests/resources/dye/dyepalette.cc | 6 | ||||
-rw-r--r-- | src/unittests/resources/resourcemanager/resourcemanager.cc | 2 | ||||
-rw-r--r-- | src/unittests/resources/sprite/animatedsprite.cc | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/unittests/resources/dye/dyepalette.cc b/src/unittests/resources/dye/dyepalette.cc index 0e99e9871..9a64be1f5 100644 --- a/src/unittests/resources/dye/dyepalette.cc +++ b/src/unittests/resources/dye/dyepalette.cc @@ -95,13 +95,13 @@ TEST_CASE("DyePalette tests", "") Dirs::initHomeDir(); ConfigManager::initConfiguration(); - getConfigDefaults2(config.getDefaultValues()); - branding.setDefaultValues(getBrandingDefaults()); + setConfigDefaults2(config); + setBrandingDefaults(branding); ActorSprite::load(); gui = new Gui(); gui->postInit(mainGraphics); - paths.setDefaultValues(getPathsDefaults()); + setPathsDefaults(paths); PaletteDB::load(); SECTION("simple test 1") diff --git a/src/unittests/resources/resourcemanager/resourcemanager.cc b/src/unittests/resources/resourcemanager/resourcemanager.cc index cd67b10d8..3e3a188f2 100644 --- a/src/unittests/resources/resourcemanager/resourcemanager.cc +++ b/src/unittests/resources/resourcemanager/resourcemanager.cc @@ -130,7 +130,7 @@ TEST_CASE("resourcemanager", "resourcemanager") ActorSprite::load(); // ConfigManager::initConfiguration(); -// getConfigDefaults2(config.getDefaultValues()); +// setConfigDefaults2(config); while (ResourceManager::cleanOrphans(true)) continue; diff --git a/src/unittests/resources/sprite/animatedsprite.cc b/src/unittests/resources/sprite/animatedsprite.cc index 3e4a1826c..f05fd76dd 100644 --- a/src/unittests/resources/sprite/animatedsprite.cc +++ b/src/unittests/resources/sprite/animatedsprite.cc @@ -96,8 +96,8 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") Dirs::initHomeDir(); ConfigManager::initConfiguration(); - getConfigDefaults2(config.getDefaultValues()); - branding.setDefaultValues(getBrandingDefaults()); + setConfigDefaults2(config); + setBrandingDefaults(branding); ActorSprite::load(); gui = new Gui(); |