Skip to content

Commit

Permalink
fix: add ChatLogger to RecentMessages benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Sep 29, 2024
1 parent bb3a476 commit f21630b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions benchmarks/src/RecentMessages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "mocks/DisabledStreamerMode.hpp"
#include "mocks/Emotes.hpp"
#include "mocks/LinkResolver.hpp"
#include "mocks/Logging.hpp"
#include "mocks/TwitchIrcServer.hpp"
#include "mocks/UserData.hpp"
#include "providers/bttv/BttvEmotes.hpp"
Expand Down Expand Up @@ -110,6 +111,12 @@ class MockApplication : public mock::BaseApplication
return &this->linkResolver;
}

ILogging *getChatLogger() override
{
return &this->logging;
}

mock::EmptyLogging logging;
AccountController accounts;
mock::Emotes emotes;
mock::UserDataController userData;
Expand Down

0 comments on commit f21630b

Please sign in to comment.