diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-03-11 18:18:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 18:18:03 +0100 |
commit | a7ecda7773d037fbde7da68c70be2c48497366e1 (patch) | |
tree | 4dc832c5f388154754fdbe90894f689e7a6ac97f /tests/unittests | |
parent | 7d6f01df86631684fe80a3e73ece699cf061498b (diff) | |
parent | b0aea2bcffc760fb4a2041ed0ab20bac40278289 (diff) | |
download | profani-tty-a7ecda7773d037fbde7da68c70be2c48497366e1.tar.gz |
Merge pull request #1501 from xenrox/change-password
Add command to change password of logged in user
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/ui/stub_ui.c | 2 | ||||
-rw-r--r-- | tests/unittests/xmpp/stub_xmpp.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 61e18ee0..dc36678b 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -211,7 +211,7 @@ ui_win_unread(int index) } char* -ui_ask_password(void) +ui_ask_password(gboolean confirm) { return mock_ptr_type(char*); } 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 |