test(receipts): update caps ver hash for send_receipt_request fixture
Functional test stbbr fixture used the old Profanity caps verification hash (hAkb1xZdJV9BQpgGNw8zG5Xsals=) for buddy1's simulated presence and the corresponding disco#info reply. The current build computes JNkIRQChhYM8+Co3IypmMtMJnOE= for the same identity+features set, so align the fixture with what the running client now produces.
This commit is contained in:
@@ -33,7 +33,7 @@ send_receipt_request(void **state)
|
||||
// Register disco#info response for capabilities query (receipts support)
|
||||
stbbr_for_query("http://jabber.org/protocol/disco#info",
|
||||
"<iq from='buddy1@localhost/laptop' to='stabber@localhost' id='*' type='result'>"
|
||||
"<query xmlns='http://jabber.org/protocol/disco#info' node='http://profanity-im.github.io#hAkb1xZdJV9BQpgGNw8zG5Xsals='>"
|
||||
"<query xmlns='http://jabber.org/protocol/disco#info' node='http://profanity-im.github.io#JNkIRQChhYM8+Co3IypmMtMJnOE='>"
|
||||
"<identity category='client' name='Profanity 0.5.0' type='console'/>"
|
||||
"<feature var='urn:xmpp:receipts'/>"
|
||||
"</query>"
|
||||
@@ -44,7 +44,7 @@ send_receipt_request(void **state)
|
||||
"<presence to='stabber@localhost' from='buddy1@localhost/laptop'>"
|
||||
"<priority>15</priority>"
|
||||
"<status>My status</status>"
|
||||
"<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='hAkb1xZdJV9BQpgGNw8zG5Xsals='/>"
|
||||
"<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://profanity-im.github.io' ver='JNkIRQChhYM8+Co3IypmMtMJnOE='/>"
|
||||
"</presence>"
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user