about summary refs log tree commit diff stats
path: root/tests/ui
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui')
-rw-r--r--tests/ui/mock_ui.c6
-rw-r--r--tests/ui/mock_ui.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/mock_ui.c b/tests/ui/mock_ui.c
index 8fcf277a..67eb51e8 100644
--- a/tests/ui/mock_ui.c
+++ b/tests/ui/mock_ui.c
@@ -133,7 +133,7 @@ void _stub_ui_handle_recipient_not_found(const char * const recipient, const cha
 }
 
 static
-void _stub_ui_current_refresh(void)
+void _stub_ui_current_update_virtual(void)
 {
 }
 
@@ -265,9 +265,9 @@ stub_ui_handle_recipient_error(void)
 }
 
 void
-stub_ui_current_refresh(void)
+stub_ui_current_update_virtual(void)
 {
-    ui_current_refresh = _stub_ui_current_refresh;
+    ui_current_update_virtual = _stub_ui_current_update_virtual;
 }
 
 void
diff --git a/tests/ui/mock_ui.h b/tests/ui/mock_ui.h
index fa56e2f6..55b036e6 100644
--- a/tests/ui/mock_ui.h
+++ b/tests/ui/mock_ui.h
@@ -49,7 +49,7 @@ void mock_current_win_type(win_type_t type);
 void mock_ui_current_recipient(void);
 void ui_current_recipient_returns(char *jid);
 
-void stub_ui_current_refresh(void);
+void stub_ui_current_update_virtual(void);
 
 void mock_ui_current_print_formatted_line(void);
 void ui_current_print_formatted_line_expect(char show_char, int attrs, char *message);