We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8d064a commit 0b01822Copy full SHA for 0b01822
tests/tests.cpp
@@ -412,6 +412,13 @@ TEST_F(EvseSecurityTests, retrieve_root_ca) {
412
ASSERT_EQ(path, retrieved_path);
413
}
414
415
+TEST_F(EvseSecurityTests, retrieve_root_location) {
416
+ std::string file_path = "certs/ca/v2g/V2G_CA_BUNDLE.pem";
417
+ std::string retrieved_file_location = this->evse_security->get_verify_location(CaCertificateType::V2G);
418
+
419
+ ASSERT_EQ(file_path, retrieved_file_location);
420
+}
421
422
TEST_F(EvseSecurityTests, install_root_ca_01) {
423
const auto v2g_root_ca = read_file_to_string(fs::path("certs/ca/v2g/V2G_ROOT_CA_NEW.pem"));
424
const auto result = this->evse_security->install_ca_certificate(v2g_root_ca, CaCertificateType::V2G);
0 commit comments