-
- // We need caching here, but note that the cache gets cleared in between tests, so it
- // doesn't work with @depends
+ $this->setService( 'PageEditStash', new PageEditStash(
+ new HashBagOStuff( [] ),
+ MediaWikiServices::getInstance()->getDBLoadBalancer(),
+ new NullLogger(),
+ new NullStatsdDataFactory(),
+ PageEditStash::INITIATOR_USER
+ ) );
+ // Clear rate-limiting cache between tests