jenkins-bot has submitted this change and it was merged.
Change subject: Clear ObjectCache for all other tests, too
......................................................................
Clear ObjectCache for all other tests, too
Change-Id: I9c18a47b9ce26f3a0fb24b9b843f866fc7973d4b
---
M repo/tests/phpunit/includes/EditEntityTest.php
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Thiemo Mättig (WMDE): Looks good to me, approved
jenkins-bot: Verified
diff --git a/repo/tests/phpunit/includes/EditEntityTest.php
b/repo/tests/phpunit/includes/EditEntityTest.php
index 9d97a65..da21a9d 100644
--- a/repo/tests/phpunit/includes/EditEntityTest.php
+++ b/repo/tests/phpunit/includes/EditEntityTest.php
@@ -677,6 +677,9 @@
$this->assertEquals( $expectedOK,
$edit->getStatus()->isOK(), var_export( $edit->getStatus()->getErrorsArray(),
true ) );
$this->assertNotEquals( $expectedOK, $edit->hasError(
EditEntity::RATE_LIMIT ) );
}
+
+ // make sure nobody else has to work with our cache
+ ObjectCache::clear();
}
public function provideIsTokenOk() {
--
To view, visit https://gerrit.wikimedia.org/r/249104
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9c18a47b9ce26f3a0fb24b9b843f866fc7973d4b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Adrian Lang <[email protected]>
Gerrit-Reviewer: Adrian Lang <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits