about summary refs log tree commit diff stats
path: root/tests/functionaltests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-11-22 00:39:52 +0000
committerJames Booth <boothj5@gmail.com>2016-11-22 00:39:52 +0000
commite043029a5069a30e8a7154a07d46260bece6358c (patch)
tree8e5affaa094513ae5d9c8c0c082f20f57e83629c /tests/functionaltests
parentc441dbfa42e58796f87fdcbb02ee4aa19cca2469 (diff)
downloadprofani-tty-e043029a5069a30e8a7154a07d46260bece6358c.tar.gz
Allow clearing account resource
issue #880
Diffstat (limited to 'tests/functionaltests')
-rw-r--r--tests/functionaltests/proftest.c2
-rw-r--r--tests/functionaltests/test_disconnect.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/functionaltests/proftest.c b/tests/functionaltests/proftest.c
index 0af26a68..90121249 100644
--- a/tests/functionaltests/proftest.c
+++ b/tests/functionaltests/proftest.c
@@ -253,7 +253,7 @@ prof_connect_with_roster(char *roster)
 
     // Allow time for profanity to connect
     exp_timeout = 30;
-    assert_true(prof_output_regex("stabber@localhost logged in successfully, .+online.+ \\(priority 0\\)\\."));
+    assert_true(prof_output_regex("stabber@localhost/profanity logged in successfully, .+online.+ \\(priority 0\\)\\."));
     exp_timeout = 10;
     stbbr_wait_for("prof_presence_*");
 }
diff --git a/tests/functionaltests/test_disconnect.c b/tests/functionaltests/test_disconnect.c
index 7529da18..83861980 100644
--- a/tests/functionaltests/test_disconnect.c
+++ b/tests/functionaltests/test_disconnect.c
@@ -17,7 +17,7 @@ disconnect_ends_session(void **state)
     prof_connect();
 
     prof_input("/disconnect");
-    assert_true(prof_output_exact("stabber@localhost/profanity logged out successfully."));
+    assert_true(prof_output_exact("stabber@localhost logged out successfully."));
 
     prof_input("/roster");
     assert_true(prof_output_exact("You are not currently connected."));