mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 19:36:21 +00:00
tests: fix functional test ping_jid
This commit is contained in:
@@ -97,7 +97,7 @@ ping_jid(void** state)
|
|||||||
"ver='LpT2xs3nun7jC2sq4gg3WRDQFZ4='"
|
"ver='LpT2xs3nun7jC2sq4gg3WRDQFZ4='"
|
||||||
"/>"
|
"/>"
|
||||||
"</presence>");
|
"</presence>");
|
||||||
assert_true(prof_output_exact("Buddy1 (mobile) is online, \"I'm here\""));
|
assert_true(prof_output_exact("++ Buddy1 (mobile) is online, \"I'm here\""));
|
||||||
|
|
||||||
assert_true(stbbr_received(
|
assert_true(stbbr_received(
|
||||||
"<iq id='*' to='buddy1@localhost/mobile' type='get'>"
|
"<iq id='*' to='buddy1@localhost/mobile' type='get'>"
|
||||||
@@ -138,7 +138,7 @@ ping_jid_not_supported(void** state)
|
|||||||
"ver='LpT2xs3nun7jC2sq4gg3WRDQFZ4='"
|
"ver='LpT2xs3nun7jC2sq4gg3WRDQFZ4='"
|
||||||
"/>"
|
"/>"
|
||||||
"</presence>");
|
"</presence>");
|
||||||
assert_true(prof_output_exact("Buddy1 (mobile) is online, \"I'm here\""));
|
assert_true(prof_output_exact("++ Buddy1 (mobile) is online, \"I'm here\""));
|
||||||
|
|
||||||
assert_true(stbbr_received(
|
assert_true(stbbr_received(
|
||||||
"<iq id='*' to='buddy1@localhost/mobile' type='get'>"
|
"<iq id='*' to='buddy1@localhost/mobile' type='get'>"
|
||||||
|
|||||||
Reference in New Issue
Block a user