Use single quotes in functional test stanzas
This commit is contained in:
@@ -21,9 +21,9 @@ send_receipt_request(void **state)
|
||||
prof_input("/msg somejid@someserver.com Hi there");
|
||||
|
||||
assert_true(stbbr_received(
|
||||
"<message id=\"*\" type=\"chat\" to=\"somejid@someserver.com\">"
|
||||
"<message id='*' type='chat' to='somejid@someserver.com'>"
|
||||
"<body>Hi there</body>"
|
||||
"<request xmlns=\"urn:xmpp:receipts\"/>"
|
||||
"<request xmlns='urn:xmpp:receipts'/>"
|
||||
"</message>"
|
||||
));
|
||||
}
|
||||
@@ -36,15 +36,15 @@ send_receipt_on_request(void **state)
|
||||
prof_connect();
|
||||
|
||||
stbbr_send(
|
||||
"<message id=\"msg12213\" type=\"chat\" to=\"stabber@localhost/profanity\" from=\"someuser@server.org/profanity\">"
|
||||
"<message id='msg12213' type='chat' to='stabber@localhost/profanity' from='someuser@server.org/profanity'>"
|
||||
"<body>Wants a receipt</body>"
|
||||
"<request xmlns=\"urn:xmpp:receipts\"/>"
|
||||
"<request xmlns='urn:xmpp:receipts'/>"
|
||||
"</message>"
|
||||
);
|
||||
|
||||
assert_true(stbbr_received(
|
||||
"<message id=\"*\" to=\"someuser@server.org/profanity\">"
|
||||
"<received id=\"msg12213\" xmlns=\"urn:xmpp:receipts\"/>"
|
||||
"<message id='*' to='someuser@server.org/profanity'>"
|
||||
"<received id='msg12213' xmlns='urn:xmpp:receipts'/>"
|
||||
"</message>"
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user