From b8bc83c91d8a7f0d2287b7554a606a5956d5569d Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 27 Sep 2016 21:18:34 -0700 Subject: [PATCH] Fix "Incorrect watchlist token provided" unit test errors Change-Id: Ib133ffe9b9ef438ff5716ad25a897e2c5a4f7d58 --- .../phpunit/includes/api/ApiQueryWatchlistRawIntegrationTest.php | 1 + 1 file changed, 1 insertion(+) 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', -- 2.20.1