name assignment fix and use NDN-name like format /a/b/c
Change-Id: I4c1b81d01fa3e3fa549bc87e5135bab0abdd9864
diff --git a/tests/unit-tests/configuration.t.cpp b/tests/unit-tests/configuration.t.cpp
index 98951c1..6ad1577 100644
--- a/tests/unit-tests/configuration.t.cpp
+++ b/tests/unit-tests/configuration.t.cpp
@@ -57,8 +57,9 @@
std::vector<std::tuple<std::string, std::string>> params;
params.emplace_back("email", "1@1.edu");
+ params.emplace_back("group", "irl");
BOOST_CHECK_EQUAL(config.m_nameAssignmentFunc(params).size(), 1);
- BOOST_CHECK_EQUAL(config.m_nameAssignmentFunc(params)[0], Name("1@1.edu"));
+ BOOST_CHECK_EQUAL(config.m_nameAssignmentFunc(params)[0], Name("/irl/1@1.edu"));
}
BOOST_AUTO_TEST_CASE(CAConfigFileWithErrors)