summaryrefslogtreecommitdiff
path: root/unittests/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/config.cpp')
-rw-r--r--unittests/config.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/unittests/config.cpp b/unittests/config.cpp
index 460a35f..db7570e 100644
--- a/unittests/config.cpp
+++ b/unittests/config.cpp
@@ -75,8 +75,7 @@ BOOST_DATA_TEST_CASE(uid_gid_override_list,
BOOST_CHECK_NO_THROW(c.s->ice_ping());
auto dir = c.v->opendir(c.env, path);
- auto dir2 = Ice::checkedCast<NetFS::DirectoryV2Prx>(dir);
- for (const auto & dirent : dir2->listdir()) {
+ for (const auto & dirent : dir->listdir()) {
BOOST_TEST_CONTEXT(dirent.first) {
BOOST_CHECK_EQUAL(dirent.second.uid, uid);
BOOST_CHECK_EQUAL(dirent.second.gid, gid);