about summary refs log tree commit diff stats
path: root/tests/unittests
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-01-17 11:31:05 +0100
committerMichael Vetter <jubalh@iodoru.org>2021-01-17 11:31:05 +0100
commit1038b97a7dff8562325bdaaddcf80f11553b49ee (patch)
treef3294e92d1c94aa3502f407b5a380600ab208373 /tests/unittests
parent5bb2f47d453043f06c70f4453cc91ef7a6778926 (diff)
downloadprofani-tty-1038b97a7dff8562325bdaaddcf80f11553b49ee.tar.gz
Fix old chlog reference in help
Fixes https://github.com/profanity-im/profanity/issues/1470
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/test_cmd_otr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/test_cmd_otr.c b/tests/unittests/test_cmd_otr.c
index 72141756..0aca077c 100644
--- a/tests/unittests/test_cmd_otr.c
+++ b/tests/unittests/test_cmd_otr.c
@@ -73,7 +73,7 @@ cmd_otr_log_on_shows_warning_when_chlog_disabled(void** state)
     prefs_set_boolean(PREF_CHLOG, FALSE);
 
     expect_cons_show("OTR messages will be logged as plaintext.");
-    expect_cons_show("Chat logging is currently disabled, use '/chlog on' to enable.");
+    expect_cons_show("Chat logging is currently disabled, use '/logging chat on' to enable.");
 
     gboolean result = cmd_otr_log(NULL, CMD_OTR, args);
     assert_true(result);
@@ -121,7 +121,7 @@ cmd_otr_log_redact_shows_warning_when_chlog_disabled(void** state)
     prefs_set_boolean(PREF_CHLOG, FALSE);
 
     expect_cons_show("OTR messages will be logged as '[redacted]'.");
-    expect_cons_show("Chat logging is currently disabled, use '/chlog on' to enable.");
+    expect_cons_show("Chat logging is currently disabled, use '/logging chat on' to enable.");
 
     gboolean result = cmd_otr_log(NULL, CMD_OTR, args);
     assert_true(result);