mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-31 08:46:21 +00:00
Changed id in ping test
This commit is contained in:
@@ -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\"/>"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user