From 9c08211119605d744e75148ce7bcae64b7cffd7a Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 13 Oct 2015 00:45:10 +0100 Subject: [PATCH] functionaltests: user ip address for server on connect --- tests/functionaltests/proftest.c | 2 +- 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) "" ); - 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."));