about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-02-16 20:10:48 +0000
committerJames Booth <boothj5@gmail.com>2014-02-16 20:10:48 +0000
commit880d5c62639e2b885a441f01631eaab27b9c19a8 (patch)
treeb6689303f3eccb9c4bff5d2e3371fd8881873d52 /tests
parentd1d80fc26b70c0f1f1ff8cbd447534cbbf0f477a (diff)
downloadprofani-tty-880d5c62639e2b885a441f01631eaab27b9c19a8.tar.gz
Fixed previous tests
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cmd_otr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmd_otr.c b/tests/test_cmd_otr.c
index b926b391..a3fbd132 100644
--- a/tests/test_cmd_otr.c
+++ b/tests/test_cmd_otr.c
@@ -287,9 +287,9 @@ static void test_with_command_and_connection_status(char *command, jabber_conn_s
     gchar *args[] = { command, NULL };
 
     mock_connection_status(status);
-    expect_cons_show("You are not currently connected.");
+    expect_cons_show("You must be connected with an account to load OTR information.");
 
-    gboolean result = cmd_rooms(args, *help);
+    gboolean result = cmd_otr(args, *help);
     assert_true(result);
 
     free(help);