wiki.techinc.nl/includes/context
Umherirrender 7949418333 tests: Expand DerivativeContextTest
Add test for the setter/getter of
Authority, Title, WikiPage and ActionName

Move the inital set into the test function, because some setter
resetting other properties and at test time the state is undefinded.

Also move the unconditional call of UserFactory::newFromAuthority into
::getUser to avoid calling MediaWikiServices from the unit tests

Change-Id: Ibf5eca24f056b2ee5388fa121674366424869f11
2022-07-02 14:43:55 +02:00
..
Hook Merge "Clarify documentaion of RequestContextCreateSkinHook" 2020-10-08 22:55:41 +00:00
ContextSource.php context: Add a cached RequestContext::getActionName method 2022-03-25 12:12:48 +00:00
DerivativeContext.php tests: Expand DerivativeContextTest 2022-07-02 14:43:55 +02:00
IContextSource.php context: Add a cached RequestContext::getActionName method 2022-03-25 12:12:48 +00:00
MutableContext.php context: Add a cached RequestContext::getActionName method 2022-03-25 12:12:48 +00:00
RequestContext.php tests: Expand DerivativeContextTest 2022-07-02 14:43:55 +02:00