mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Changed id in ping test
This commit is contained in:
parent
5aab876ab5
commit
0c99dc7ad6
@ -184,12 +184,12 @@ responds_to_ping(void **state)
|
|||||||
assert_true(prof_output("stabber@localhost logged in successfully"));
|
assert_true(prof_output("stabber@localhost logged in successfully"));
|
||||||
|
|
||||||
stbbr_send(
|
stbbr_send(
|
||||||
"<iq id=\"ping1\" type=\"get\" to=\"stabber@localhost/profanity\" from=\"localhost\">"
|
"<iq id=\"pingtest1\" type=\"get\" to=\"stabber@localhost/profanity\" from=\"localhost\">"
|
||||||
"<ping xmlns=\"urn:xmpp:ping\"/>"
|
"<ping xmlns=\"urn:xmpp:ping\"/>"
|
||||||
"</iq>"
|
"</iq>"
|
||||||
);
|
);
|
||||||
|
|
||||||
assert_true(stbbr_received(
|
assert_true(stbbr_received(
|
||||||
"<iq id=\"ping1\" type=\"result\" from=\"stabber@localhost/profanity\" to=\"localhost\"/>"
|
"<iq id=\"pingtest1\" type=\"result\" from=\"stabber@localhost/profanity\" to=\"localhost\"/>"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user