about summary refs log tree commit diff stats
path: root/tests/unittests
diff options
context:
space:
mode:
authorThorben Günther <admin@xenrox.net>2021-03-11 22:40:19 +0100
committerThorben Günther <admin@xenrox.net>2021-07-01 16:08:00 +0200
commit0fc3343d7538e5f5a3a2b21809219acf36baa3c6 (patch)
treec9e3cc0b6daf9d9898ce2c80f4541395227e4ac4 /tests/unittests
parentaae252e1b54c147bcf9404031e7862c0e955f571 (diff)
downloadprofani-tty-0fc3343d7538e5f5a3a2b21809219acf36baa3c6.tar.gz
Restore last status string when connecting
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/config/stub_accounts.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unittests/config/stub_accounts.c b/tests/unittests/config/stub_accounts.c
index 19a0bdcb..653b2897 100644
--- a/tests/unittests/config/stub_accounts.c
+++ b/tests/unittests/config/stub_accounts.c
@@ -213,6 +213,12 @@ accounts_get_last_presence(const char* const account_name)
     return mock_type(resource_presence_t);
 }
 
+char*
+accounts_get_login_status(const char* const account_name)
+{
+    return NULL;
+}
+
 void
 accounts_set_priority_online(const char* const account_name, const gint value)
 {