diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functionaltests/proftest.c | 2 | ||||
-rw-r--r-- | tests/functionaltests/test_disconnect.c | 2 | ||||
-rw-r--r-- | tests/unittests/config/stub_accounts.c | 1 |
3 files changed, 3 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.")); diff --git a/tests/unittests/config/stub_accounts.c b/tests/unittests/config/stub_accounts.c index 669ceb33..e1a33b0c 100644 --- a/tests/unittests/config/stub_accounts.c +++ b/tests/unittests/config/stub_accounts.c @@ -197,6 +197,7 @@ void accounts_clear_pgp_keyid(const char * const account_name) {} void accounts_clear_script_start(const char * const account_name) {} void accounts_clear_theme(const char * const account_name) {} void accounts_clear_muc(const char * const account_name) {} +void accounts_clear_resource(const char * const account_name) {} void accounts_add_otr_policy(const char * const account_name, const char * const contact_jid, const char * const policy) {} char* accounts_get_last_activity(const char *const account_name) { |