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 14:38:27 +0100
committerThorben Günther <admin@xenrox.net>2021-03-11 14:40:17 +0100
commit71236a0d5a47277d55caa5a09befa97ccabe7fec (patch)
tree5d2a3585322f72bad73060fa4fce59afadd6d8f5 /tests/unittests
parent96580f917b5c0a061e7bf41714cf48c8e89cd5f8 (diff)
downloadprofani-tty-71236a0d5a47277d55caa5a09befa97ccabe7fec.tar.gz
Update ui_ask_password to support confirmation
Just prints a different string to console.
Useful for changing passwords or account registration.
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/ui/stub_ui.c2
1 files changed, 1 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*);
 }