mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Include resource in ping test
This commit is contained in:
parent
7fb00a1e15
commit
af73cb82e6
@ -178,13 +178,14 @@ responds_to_ping(void **state)
|
||||
prof_process_xmpp(20);
|
||||
|
||||
stbbr_send(
|
||||
"<iq id=\"ping1\" type=\"get\" to=\"stabber@localhost\" from=\"localhost\">"
|
||||
"<iq id=\"ping1\" type=\"get\" to=\"stabber@localhost/profanity\" from=\"localhost\">"
|
||||
"<ping xmlns=\"urn:xmpp:ping\"/>"
|
||||
"</iq>");
|
||||
"</iq>"
|
||||
);
|
||||
|
||||
prof_process_xmpp(20);
|
||||
|
||||
assert_true(stbbr_verify(
|
||||
"<iq id=\"ping1\" type=\"result\" from=\"stabber@localhost\" to=\"localhost\"/>"
|
||||
"<iq id=\"ping1\" type=\"result\" from=\"stabber@localhost/profanity\" to=\"localhost\"/>"
|
||||
));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user