1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

functionaltests: user ip address for server on connect

This commit is contained in:
James Booth 2015-10-13 00:45:10 +01:00
parent 118e92039e
commit 9c08211119
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ prof_connect_with_roster(char *roster)
"</presence>" "</presence>"
); );
prof_input("/connect stabber@localhost port 5230"); prof_input("/connect stabber@localhost server 127.0.0.1 port 5230");
prof_input("password"); prof_input("password");
// Allow time for profanity to connect // Allow time for profanity to connect

View File

@ -50,7 +50,7 @@ connect_jid_requests_bookmarks(void **state)
void void
connect_bad_password(void **state) connect_bad_password(void **state)
{ {
prof_input("/connect stabber@localhost port 5230"); prof_input("/connect stabber@localhost server 127.0.0.1 port 5230");
prof_input("badpassword"); prof_input("badpassword");
assert_true(prof_output_exact("Login failed.")); assert_true(prof_output_exact("Login failed."));