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 17d58c04..f84ce2e2 100644
--- a/tests/ui/mock_ui.c
+++ b/tests/ui/mock_ui.c
@@ -29,7 +29,7 @@ void _stub_cons_show(const char * const msg, ...)
 }
 
 static
-void _stub_ui_roster(void)
+void _stub_rosterwin_roster(void)
 {
 }
 
@@ -206,9 +206,9 @@ stub_ui_chat_win_contact_online(void)
 }
 
 void
-stub_ui_roster(void)
+stub_rosterwin_roster(void)
 {
-    ui_roster = _stub_ui_roster;
+    rosterwin_roster = _stub_rosterwin_roster;
 }
 
 void
diff --git a/tests/ui/mock_ui.h b/tests/ui/mock_ui.h
index 99a460ac..7214ca52 100644
--- a/tests/ui/mock_ui.h
+++ b/tests/ui/mock_ui.h
@@ -10,7 +10,7 @@
 #include "ui/window.h"
 
 void stub_cons_show(void);
-void stub_ui_roster(void);
+void stub_rosterwin_roster(void);
 
 void mock_cons_show(void);
 void expect_cons_show(char *output);