functionaltests: user ip address for server on connect
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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."));
|
||||||
|
|||||||
Reference in New Issue
Block a user