Skip to content

Commit

Permalink
[unit test][ssl cert] added a comment for creates_different_certs_per…
Browse files Browse the repository at this point in the history
…_server_name unit test.
  • Loading branch information
georgeliao committed Feb 6, 2025
1 parent b69f955 commit 5957e41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_ssl_cert_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ TEST_F(SSLCertProviderFixture, persists_cert_and_key)
TEST_F(SSLCertProviderFixture, creates_different_certs_per_server_name)
{
const auto [mock_platform, _] = mpt::MockPlatform::inject<NiceMock>();
// move the multipass_root_cert.pem into the temporary directory so it will be deleted automatically later
EXPECT_CALL(*mock_platform, get_root_cert_path())
.WillRepeatedly(Return(std::filesystem::path{cert_dir.toStdU16String()} / "multipass_root_cert.pem"));

Expand Down

0 comments on commit 5957e41

Please # to comment.