diff options
Diffstat (limited to 'tests/helpers.c')
-rw-r--r-- | tests/helpers.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/helpers.c b/tests/helpers.c index a6a473e4..6a7b2faa 100644 --- a/tests/helpers.c +++ b/tests/helpers.c @@ -11,6 +11,16 @@ #include "helpers.h" #include "config/preferences.h" +#include "ui/stub_ui.h" +#include "xmpp/stub_xmpp.h" + +void +reset_mocks(void **state) +{ + reset_ui_mocks(); + reset_xmpp_mocks(); +} + void create_config_dir(void **state) { setenv("XDG_CONFIG_HOME", "./tests/files/xdg_config_home", 1); |