minor
Change-Id: I2e6b7fd2edff7a04e47d1395d3b120e46ff24bf3
diff --git a/tests/unit-tests/config-files/config-ca-2 b/tests/unit-tests/config-files/config-ca-2
index 9b7c2bd..0c87ec9 100644
--- a/tests/unit-tests/config-files/config-ca-2
+++ b/tests/unit-tests/config-files/config-ca-2
@@ -3,7 +3,6 @@
"ca-info": "missing max validity period, max suffix length, and probe",
"supported-challenges":
[
- { "challenge": "pin" },
- { "challenge": "email" }
+ { "challenge": "pin" }
]
}
\ No newline at end of file
diff --git a/tests/unit-tests/configuration.t.cpp b/tests/unit-tests/configuration.t.cpp
index f193432..999b0a9 100644
--- a/tests/unit-tests/configuration.t.cpp
+++ b/tests/unit-tests/configuration.t.cpp
@@ -48,9 +48,8 @@
BOOST_CHECK_EQUAL(config.m_caProfile.m_maxValidityPeriod, time::seconds(86400));
BOOST_CHECK(!config.m_caProfile.m_maxSuffixLength.has_value());
BOOST_CHECK_EQUAL(config.m_caProfile.m_probeParameterKeys.size(), 0);
- BOOST_CHECK_EQUAL(config.m_caProfile.m_supportedChallenges.size(), 2);
+ BOOST_CHECK_EQUAL(config.m_caProfile.m_supportedChallenges.size(), 1);
BOOST_CHECK_EQUAL(config.m_caProfile.m_supportedChallenges.front(), "pin");
- BOOST_CHECK_EQUAL(config.m_caProfile.m_supportedChallenges.back(), "email");
config.load("tests/unit-tests/config-files/config-ca-5");
BOOST_CHECK_EQUAL(config.m_redirection[0]->getName(),