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 13:56:06 +0100
committerThorben Günther <admin@xenrox.net>2021-03-11 17:42:53 +0100
commitb0aea2bcffc760fb4a2041ed0ab20bac40278289 (patch)
tree638827f80d58452d0c15dddaf408aad6bee00cb4 /tests/unittests
parent71236a0d5a47277d55caa5a09befa97ccabe7fec (diff)
downloadprofani-tty-b0aea2bcffc760fb4a2041ed0ab20bac40278289.tar.gz
Add command to change password of logged in user
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/xmpp/stub_xmpp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unittests/xmpp/stub_xmpp.c b/tests/unittests/xmpp/stub_xmpp.c
index e1b6fdd8..0a0f3fc6 100644
--- a/tests/unittests/xmpp/stub_xmpp.c
+++ b/tests/unittests/xmpp/stub_xmpp.c
@@ -62,6 +62,12 @@ connection_get_barejid(void)
     return mock_ptr_type(char*);
 }
 
+char*
+connection_get_user(void)
+{
+    return mock_ptr_type(char*);
+}
+
 const char*
 connection_get_domain(void)
 {
@@ -393,6 +399,10 @@ void
 iq_command_exec(const char* const target, const char* const command)
 {
 }
+void
+iq_register_change_password(const char* const user, const char* const password)
+{
+}
 
 // caps functions
 void