HomePhabricator

ApiTestCase: Set correct user for derivate requests

Description

ApiTestCase: Set correct user for derivate requests

RequestContext::getMain()->getUser() in a (faux) API request doesn't return the
user the (faux) API call is made with, but the user running the tests.

Bug: T101388
Change-Id: Icbbf14a6433edf5c91162a9d67899d6a2d5c33df

Details

Provenance
matthiasmullieAuthored on
LegoktmCommitted on Jun 5 2015, 5:37 PM
Parents
rMW45df7150c418: Merge "mw.loader.store: decline to store items > 100 kB"
Branches
Unknown
Tags
Unknown
ChangeId
Icbbf14a6433edf5c91162a9d67899d6a2d5c33df