use namespace for ca and rename CaState to ca::RequestState
Change-Id: I2250bf7fb68503465dae18e16dc3c512fe809037
diff --git a/tests/unit-tests/configuration.t.cpp b/tests/unit-tests/configuration.t.cpp
index e887165..1957338 100644
--- a/tests/unit-tests/configuration.t.cpp
+++ b/tests/unit-tests/configuration.t.cpp
@@ -30,7 +30,7 @@
BOOST_AUTO_TEST_CASE(CAConfigFile)
{
- CaConfig config;
+ ca::CaConfig config;
config.load("tests/unit-tests/config-files/config-ca-1");
BOOST_CHECK_EQUAL(config.m_caItem.m_caPrefix, "/ndn");
BOOST_CHECK_EQUAL(config.m_caItem.m_caInfo, "ndn testbed ca");
@@ -78,7 +78,7 @@
BOOST_AUTO_TEST_CASE(CAConfigFileWithErrors)
{
- CaConfig config;
+ ca::CaConfig config;
// nonexistent file
BOOST_CHECK_THROW(config.load("tests/unit-tests/config-files/Nonexist"), std::runtime_error);
// missing challenge