From 6640a0891fb51b74c8377745ee1e5585f741a0be Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 18 Oct 2015 03:06:23 +0100 Subject: Force tls on all connections, add tls policy account property --- tests/functionaltests/proftest.c | 2 +- tests/functionaltests/test_connect.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functionaltests') diff --git a/tests/functionaltests/proftest.c b/tests/functionaltests/proftest.c index 54837c9f..e3c80501 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 server 127.0.0.1 port 5230"); + prof_input("/connect stabber@localhost server 127.0.0.1 port 5230 tls allow"); prof_input("password"); // Allow time for profanity to connect diff --git a/tests/functionaltests/test_connect.c b/tests/functionaltests/test_connect.c index 9abd1eff..b14d7e85 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 server 127.0.0.1 port 5230"); + prof_input("/connect stabber@localhost server 127.0.0.1 port 5230 tls allow"); prof_input("badpassword"); assert_true(prof_output_exact("Login failed.")); -- cgit