To reproduce:
- Add $wgAutoCreateTempUser['enabled'] = true; to your LocalSettings.php
- Run ApiStashEditTest::testCheckCacheOldNoEditsAnon
it fails with:
Attempt to read property "output" on bool /var/www/html/w/tests/phpunit/includes/api/ApiStashEditTest.php:379 /var/www/html/w/tests/phpunit/includes/api/ApiStashEditTest.php:398 /var/www/html/w/tests/phpunit/includes/api/ApiTestCase.php:277 /var/www/html/w/tests/phpunit/MediaWikiIntegrationTestCase.php:527
It looks like there's a cache key mismatch, but since the test is messing with the cache key in doStashOld, maybe it should just be fixed not to be hacky.