about summary refs log tree commit diff stats
path: root/tests/test_cmd_otr.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-04-01 21:52:04 +0100
committerJames Booth <boothj5@gmail.com>2014-04-01 21:52:04 +0100
commit404dde281018596e3ff8b8b46dddbf622cc9670a (patch)
tree32dde71cf41ea9be57813c6ab0b419f467d36b38 /tests/test_cmd_otr.c
parente8e5ab597a6233a8ae7af75aee51451de51ed0e5 (diff)
downloadprofani-tty-404dde281018596e3ff8b8b46dddbf622cc9670a.tar.gz
Renamed refresh functions to update_virtual
Diffstat (limited to 'tests/test_cmd_otr.c')
-rw-r--r--tests/test_cmd_otr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_cmd_otr.c b/tests/test_cmd_otr.c
index 0d029d94..3bad3d8d 100644
--- a/tests/test_cmd_otr.c
+++ b/tests/test_cmd_otr.c
@@ -179,7 +179,7 @@ void cmd_otr_log_redact_shows_warning_when_chlog_disabled(void **state)
 void cmd_otr_warn_shows_usage_when_no_args(void **state)
 {
     mock_cons_show();
-    stub_ui_current_refresh();
+    stub_ui_current_update_virtual();
     CommandHelp *help = malloc(sizeof(CommandHelp));
     help->usage = "Some usage";
     gchar *args[] = { "warn", NULL };
@@ -195,7 +195,7 @@ void cmd_otr_warn_shows_usage_when_no_args(void **state)
 void cmd_otr_warn_shows_usage_when_invalid_arg(void **state)
 {
     mock_cons_show();
-    stub_ui_current_refresh();
+    stub_ui_current_update_virtual();
     CommandHelp *help = malloc(sizeof(CommandHelp));
     help->usage = "Some usage";
     gchar *args[] = { "warn", "badarg", NULL };
@@ -211,7 +211,7 @@ void cmd_otr_warn_shows_usage_when_invalid_arg(void **state)
 void cmd_otr_warn_on_enables_unencrypted_warning(void **state)
 {
     mock_cons_show();
-    stub_ui_current_refresh();
+    stub_ui_current_update_virtual();
     CommandHelp *help = malloc(sizeof(CommandHelp));
     gchar *args[] = { "warn", "on", NULL };
 
@@ -230,7 +230,7 @@ void cmd_otr_warn_on_enables_unencrypted_warning(void **state)
 void cmd_otr_warn_off_disables_unencrypted_warning(void **state)
 {
     mock_cons_show();
-    stub_ui_current_refresh();
+    stub_ui_current_update_virtual();
     CommandHelp *help = malloc(sizeof(CommandHelp));
     gchar *args[] = { "warn", "off", NULL };