about summary refs log tree commit diff stats
path: root/tests/test_cmd_join.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-03-16 18:12:16 +0000
committerJames Booth <boothj5@gmail.com>2014-03-16 18:12:16 +0000
commit22ab2686181bde9b35fd04c5364d511d08cd57a1 (patch)
tree58f4b7cfbec03661fb03038fff845c219efb0409 /tests/test_cmd_join.c
parentf4d52f3d40287a9426ec7e0390a8fcfce78a4ee9 (diff)
downloadprofani-tty-22ab2686181bde9b35fd04c5364d511d08cd57a1.tar.gz
Change 'passwd' option to 'password' for /join command
Diffstat (limited to 'tests/test_cmd_join.c')
-rw-r--r--tests/test_cmd_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmd_join.c b/tests/test_cmd_join.c
index 19e4de9a..d07cd5f0 100644
--- a/tests/test_cmd_join.c
+++ b/tests/test_cmd_join.c
@@ -180,7 +180,7 @@ void cmd_join_uses_password_when_supplied(void **state)
     char *account_service = "a_service";
     char *expected_room = "room@a_service";
     CommandHelp *help = malloc(sizeof(CommandHelp));
-    gchar *args[] = { room, "passwd", password, NULL };
+    gchar *args[] = { room, "password", password, NULL };
     ProfAccount *account = account_new(account_name, "user@server.org", NULL,
         TRUE, NULL, 0, "laptop", NULL, NULL, 0, 0, 0, 0, 0, account_service, account_nick);