mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
functionaltests: user ip address for server on connect
This commit is contained in:
parent
118e92039e
commit
9c08211119
@ -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."));
|
||||||
|
Loading…
Reference in New Issue
Block a user