Skip to content

Commit

Permalink
Fix unit test failures (#1304)
Browse files Browse the repository at this point in the history
  • Loading branch information
zgzjhzxhq authored Oct 7, 2024
1 parent 324eb39 commit 4166724
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 4166724

Please sign in to comment.