refactor: turn Emotes into EmoteController (#6516)
* refactor: turn `Emotes` into `EmoteController` * changelog * why does clang-format do this??? * nit: remove unused include from EmoteController.hpp --------- Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "messages/Image.hpp"
|
||||
#include "mocks/BaseApplication.hpp"
|
||||
#include "mocks/Emotes.hpp"
|
||||
#include "mocks/EmoteController.hpp"
|
||||
#include "singletons/Resources.hpp"
|
||||
#include "Test.hpp"
|
||||
|
||||
@@ -19,12 +19,12 @@ class MockApplication : public mock::BaseApplication
|
||||
public:
|
||||
MockApplication() = default;
|
||||
|
||||
IEmotes *getEmotes() override
|
||||
EmoteController *getEmotes() override
|
||||
{
|
||||
return &this->emotes;
|
||||
}
|
||||
|
||||
mock::Emotes emotes;
|
||||
mock::EmoteController emotes;
|
||||
};
|
||||
|
||||
class ModerationActionTest : public ::testing::Test
|
||||
|
||||
Reference in New Issue
Block a user