diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-31 01:34:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-31 01:34:38 +0300 |
commit | e826d4c63365dde4c988453846437dcb65370945 (patch) | |
tree | 1bd23d4694c06d97e7e8c885253c0100fe6142b9 /src/unittests/utils/stringutils.cc | |
parent | 75ca03c95c90064e67fa9eaddb4c609196dd3a27 (diff) | |
download | plus-e826d4c63365dde4c988453846437dcb65370945.tar.gz plus-e826d4c63365dde4c988453846437dcb65370945.tar.bz2 plus-e826d4c63365dde4c988453846437dcb65370945.tar.xz plus-e826d4c63365dde4c988453846437dcb65370945.zip |
Improve setting default values for configuration objects.
Diffstat (limited to 'src/unittests/utils/stringutils.cc')
-rw-r--r-- | src/unittests/utils/stringutils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittests/utils/stringutils.cc b/src/unittests/utils/stringutils.cc index ee0a00cb0..44bc4d13f 100644 --- a/src/unittests/utils/stringutils.cc +++ b/src/unittests/utils/stringutils.cc @@ -1498,7 +1498,7 @@ TEST_CASE("stringuntils replaceItemLinks", "") ItemDB::NamedItemInfos &namedInfos = ItemDB::getNamedItemInfosTest(); ItemDB::ItemInfos &infos = ItemDB::getItemInfosTest(); - paths.setDefaultValues(getPathsDefaults()); + setPathsDefaults(paths); ItemInfo *info = new ItemInfo; info->setId(123456); info->setName("test name 1"); |