Skip to content

Commit

Permalink
Fix unit test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
zgzjhzxhq committed Oct 7, 2024
1 parent 7700dc3 commit ca74115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules
1 change: 1 addition & 0 deletions tests/functests/MultipleLogManagersTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ TEST_F(MultipleLogManagersTests, PrivacyGuardSharedWithTwoInstancesCoexist)
MockLogger mockLogger;
auto privacyConcernLogCount = 0;
InitializationConfiguration config(&mockLogger, CommonDataContext {});
config.ScanForUrls = true;
const auto privacyGuard = std::make_shared<PrivacyGuard>(config);
mockLogger.m_logEventOverride = [&privacyConcernLogCount, &privacyGuard](const EventProperties& properties) {
if (equalsIgnoreCase(properties.GetName(), privacyGuard->GetNotificationEventName()))
Expand Down

0 comments on commit ca74115

Please sign in to comment.