Skip to content

Commit

Permalink
[unit test] fixed the format.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeliao committed Jan 31, 2025
1 parent 08b8c47 commit 2c7b8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_client_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct TestClientCommon : public mpt::DaemonTestFixture
ON_CALL(mpt::MockStandardPaths::mock_instance(), writableLocation(mp::StandardPaths::GenericDataLocation))
.WillByDefault(Return(temp_dir.path()));
ON_CALL(*mock_utils, contents_of(_)).WillByDefault(Return(multipass::test::root_cert));
//delegate some functions to the orignal implementation
// delegate some functions to the orignal implementation
ON_CALL(*mock_utils, make_dir(A<const QDir&>(), A<const QString&>(), A<std::filesystem::perms>()))
.WillByDefault([](const QDir& dir, const QString& name, std::filesystem::perms permissions) -> mp::Path {
return MP_UTILS.Utils::make_dir(dir, name, permissions);
Expand Down

0 comments on commit 2c7b8af

Please sign in to comment.