thiemowmde added a comment.

I had a look at the code. There is nothing special about the test methods in ApiXmlFormatTest. They do trivial edits via the API.

What worries me a little bit is the way an edit token is pulled from the global wgUser object in ApiFormatTestCase (and WikibaseApiTestCase). I'm not sure if this is the correct way to do this. Core's API test setup pulls this from a "session".


TASK DETAIL
https://phabricator.wikimedia.org/T150512

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: thiemowmde, hoo, gerritbot, TerraCodes, Luke081515, Jay8g, aude, MarcoAurelio, Addshore, Aklapper, Nikerabbit, D3r1ck01, Izno, Wikidata-bugs, Nemo_bis, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to