From: Aaron Schulz Date: Wed, 28 Sep 2016 04:18:34 +0000 (-0700) Subject: Fix "Incorrect watchlist token provided" unit test errors X-Git-Tag: 1.31.0-rc.0~5296^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=b8bc83c91d8a7f0d2287b7554a606a5956d5569d;p=lhc%2Fweb%2Fwiklou.git Fix "Incorrect watchlist token provided" unit test errors Change-Id: Ib133ffe9b9ef438ff5716ad25a897e2c5a4f7d58 --- diff --git a/tests/phpunit/includes/api/ApiQueryWatchlistRawIntegrationTest.php b/tests/phpunit/includes/api/ApiQueryWatchlistRawIntegrationTest.php index 582c0769a2..d6f315d5b3 100644 --- a/tests/phpunit/includes/api/ApiQueryWatchlistRawIntegrationTest.php +++ b/tests/phpunit/includes/api/ApiQueryWatchlistRawIntegrationTest.php @@ -477,6 +477,7 @@ class ApiQueryWatchlistRawIntegrationTest extends ApiTestCase { new TitleValue( 1, 'ApiQueryWatchlistRawIntegrationTestPage1' ), ] ); + ObjectCache::getMainWANInstance()->clearProcessCache(); $result = $this->doListWatchlistRawRequest( [ 'wrowner' => $otherUser->getName(), 'wrtoken' => '1234567890',