Fix channelgetallusermentionsjobtest by comparing strings rather than URLs
ClosedPublic

Authored by dfaure on May 23 2019, 7:42 AM.

Details

Summary

gdb says one has

query = "roomId=avat&count=5&offset=12&sort={\"foo\":-1}",

and the other one has

query = "roomId=avat&count=5&offset=12&sort=%7B%22foo%22:-1%7D",

Using decoded characters like '{' in the literal URL doesn't help, they
get encoded anyway. I guess one would have to use fromEncoded or special
flags to prevent that from happening. Oh well, the string representation
is what we really care about in the end (I suppose).

Test Plan

ctest is green again

Diff Detail

Repository
R865 Ruqola
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 12091
Build 12109: arc lint + arc unit
dfaure requested review of this revision.May 23 2019, 7:42 AM
dfaure created this revision.
mlaurent accepted this revision.May 23 2019, 10:26 AM

cool thanks

This revision is now accepted and ready to land.May 23 2019, 10:26 AM
dfaure closed this revision.May 23 2019, 10:46 AM