diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pgp/stub_gpg.c | 1 | ||||
-rw-r--r-- | tests/test_server_events.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/pgp/stub_gpg.c b/tests/pgp/stub_gpg.c index 14cdfe96..b8150d0a 100644 --- a/tests/pgp/stub_gpg.c +++ b/tests/pgp/stub_gpg.c @@ -23,3 +23,4 @@ const char* p_gpg_libver(void) void p_gpg_free_key(ProfPGPKey *key) {} +void p_gpg_verify(const char * const barejid, const char *const sign) {} diff --git a/tests/test_server_events.c b/tests/test_server_events.c index 58489807..fac1ac38 100644 --- a/tests/test_server_events.c +++ b/tests/test_server_events.c @@ -26,7 +26,7 @@ void console_shows_online_presence_when_set_online(void **state) expect_memory(ui_contact_online, resource, resource, sizeof(resource)); expect_value(ui_contact_online, last_activity, NULL); - sv_ev_contact_online(barejid, resource, NULL); + sv_ev_contact_online(barejid, resource, NULL, NULL); roster_clear(); } @@ -43,7 +43,7 @@ void console_shows_online_presence_when_set_all(void **state) expect_memory(ui_contact_online, resource, resource, sizeof(resource)); expect_value(ui_contact_online, last_activity, NULL); - sv_ev_contact_online(barejid, resource, NULL); + sv_ev_contact_online(barejid, resource, NULL, NULL); roster_clear(); } @@ -60,7 +60,7 @@ void console_shows_dnd_presence_when_set_all(void **state) expect_memory(ui_contact_online, resource, resource, sizeof(resource)); expect_value(ui_contact_online, last_activity, NULL); - sv_ev_contact_online(barejid, resource, NULL); + sv_ev_contact_online(barejid, resource, NULL, NULL); roster_clear(); } |