Page MenuHomePhabricator

PHPUnit test users are not automatically made global by CentralAuth
Open, Needs TriagePublic

Description

For example, $this->getTestUser() in a PHPUnit test will create the user if needed, but CentralAuth won't make it global. Presumably because its entry points (AuthManager area) aren't invoked. It would be nice to fix this and let extensions react to user creations for consistency.