Tobias Gritschacher has submitted this change and it was merged.

Change subject: (Bug 42526) Workaround for failing tests
......................................................................


(Bug 42526) Workaround for failing tests

This is a workaround for tests failing due to some other tests are
leaking changed state for $wgUser. A followup to this could be to
identify the tests that leaks "sysop" and "wbeditor". The last one
doesn't seem to be a problem, but the former is a problem during
tests where actions like "delete" is supposed to fail.

Patchset 2: Removed sporious stuff
Patchset 3: Additional crap
Patchset 4: Removed commented out stuff

Change-Id: Iaa705f7262a9382e70efc71df66a4a772153e0f6
---
M repo/tests/phpunit/includes/EditEntityTest.php
M repo/tests/phpunit/includes/api/ApiModifyItemBase.php
M repo/tests/phpunit/includes/content/EntityContentTest.php
3 files changed, 18 insertions(+), 26 deletions(-)

Approvals:
  Tobias Gritschacher: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/35650
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaa705f7262a9382e70efc71df66a4a772153e0f6
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: John Erling Blad <john.b...@wikimedia.de>
Gerrit-Reviewer: John Erling Blad <john.b...@wikimedia.de>
Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to