summaryrefslogtreecommitdiff
path: root/src/unittests/fs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-13 03:48:56 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-13 03:48:56 +0300
commitb5cb8b8ed49f80ebbb82cacb55c16a03318db30b (patch)
tree0a2d308fdf870a8b0564b585087abaea867457ec /src/unittests/fs
parent0d9761f9a6b375f6018a16b21cf2fbbb01155c08 (diff)
downloadplus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.gz
plus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.bz2
plus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.xz
plus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.zip
Fix unit tests after latest changes.
Diffstat (limited to 'src/unittests/fs')
-rw-r--r--src/unittests/fs/files_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unittests/fs/files_unittest.cc b/src/unittests/fs/files_unittest.cc
index 927891fdd..f3a15b174 100644
--- a/src/unittests/fs/files_unittest.cc
+++ b/src/unittests/fs/files_unittest.cc
@@ -217,13 +217,14 @@ TEST_CASE("Files getFilesInDir", "")
VirtFs::getFilesInDir("perserver/default",
list,
".xml");
- REQUIRE(list.size() == 5);
+ REQUIRE(list.size() == 6);
REQUIRE(list[0] == pathJoin("perserver", "default", "charcreation.xml"));
REQUIRE(list[1] == pathJoin("perserver", "default", "deadmessages.xml"));
REQUIRE(list[2] ==
pathJoin("perserver", "default", "defaultcommands.xml"));
REQUIRE(list[3] == pathJoin("perserver", "default", "features.xml"));
- REQUIRE(list[4] == pathJoin("perserver", "default", "weapons.xml"));
+ REQUIRE(list[4] == pathJoin("perserver", "default", "groups.xml"));
+ REQUIRE(list[5] == pathJoin("perserver", "default", "weapons.xml"));
ResourceManager::deleteInstance();
VirtFs::unmountDirSilent("data");
VirtFs::unmountDirSilent("../data");