mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 14:16:22 +00:00
tests: fix functional test ping_responds_to_server_request
This commit is contained in:
@@ -51,7 +51,7 @@ ping_server_not_supported(void** state)
|
|||||||
prof_connect();
|
prof_connect();
|
||||||
|
|
||||||
prof_input("/ping");
|
prof_input("/ping");
|
||||||
assert_true(prof_output_exact("Server does not support ping requests."));
|
assert_true(prof_output_exact("Server does not support ping requests (urn:xmpp:ping)."));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -65,7 +65,7 @@ ping_responds_to_server_request(void** state)
|
|||||||
"</iq>");
|
"</iq>");
|
||||||
|
|
||||||
assert_true(stbbr_received(
|
assert_true(stbbr_received(
|
||||||
"<iq id='pingtest1' to='localhost' type='result'/>"));
|
"<iq id='pingtest1' to='localhost' from='stabber@localhost/profanity' type='result'/>"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user