Use will_return instead of mock values
This commit is contained in:
@@ -11,24 +11,6 @@
|
||||
#include "helpers.h"
|
||||
#include "config/preferences.h"
|
||||
|
||||
#include "ui/stub_ui.h"
|
||||
#include "xmpp/stub_xmpp.h"
|
||||
#include "config/stub_accounts.h"
|
||||
|
||||
void
|
||||
pre_test(void **state)
|
||||
{
|
||||
reset_ui_mocks();
|
||||
reset_xmpp_mocks();
|
||||
reset_account_mocks();
|
||||
}
|
||||
|
||||
void
|
||||
post_test(void **state)
|
||||
{
|
||||
// nothing
|
||||
}
|
||||
|
||||
void create_config_dir(void **state)
|
||||
{
|
||||
setenv("XDG_CONFIG_HOME", "./tests/files/xdg_config_home", 1);
|
||||
|
||||
Reference in New Issue
Block a user