diff options
author | James Booth <boothj5@gmail.com> | 2015-10-13 00:45:10 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-10-13 00:45:10 +0100 |
commit | 9c08211119605d744e75148ce7bcae64b7cffd7a (patch) | |
tree | e4012938ea97826d056bc6fb55fc04eb747ad262 | |
parent | 118e92039ecbf2431838a51642582e1c72694e4f (diff) | |
download | profani-tty-9c08211119605d744e75148ce7bcae64b7cffd7a.tar.gz |
functionaltests: user ip address for server on connect
-rw-r--r-- | tests/functionaltests/proftest.c | 2 | ||||
-rw-r--r-- | tests/functionaltests/test_connect.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/functionaltests/proftest.c b/tests/functionaltests/proftest.c index b839ee48..54837c9f 100644 --- a/tests/functionaltests/proftest.c +++ b/tests/functionaltests/proftest.c @@ -244,7 +244,7 @@ prof_connect_with_roster(char *roster) "</presence>" ); - prof_input("/connect stabber@localhost port 5230"); + prof_input("/connect stabber@localhost server 127.0.0.1 port 5230"); prof_input("password"); // Allow time for profanity to connect diff --git a/tests/functionaltests/test_connect.c b/tests/functionaltests/test_connect.c index 5fcb8a2f..9abd1eff 100644 --- a/tests/functionaltests/test_connect.c +++ b/tests/functionaltests/test_connect.c @@ -50,7 +50,7 @@ connect_jid_requests_bookmarks(void **state) void 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"); assert_true(prof_output_exact("Login failed.")); |