Page MenuHomePhabricator

Wikibase\Lexeme\Tests\MediaWiki\Api\ApiUserBlockedTest::testAddForm test failures
Closed, ResolvedPublic


1) Wikibase\Lexeme\Tests\MediaWiki\Api\ApiUserBlockedTest::testAddForm with data set #0 ('wbladdform', array('L1', '{"representations":{"en":{"va..."Q1"]}'), array('apierror-blocked', 'permissionserrors'))
08:35:36 Expected message apierror-blocked
08:35:36 Failed asserting that false is true.
08:35:36 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Api/ApiUserBlockedTest.php:159
08:35:36 /workspace/src/tests/phpunit/includes/api/ApiTestCase.php:277
08:35:36 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:522

Seen in, on a GrowthExperiments patch.

Event Timeline

kostajh triaged this task as Unbreak Now! priority.Apr 27 2023, 7:28 AM
kostajh created this task.

Change 912780 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/WikibaseLexeme@master] API tests: Assert error codes, not error messages

Change 912780 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] API tests: Assert error codes, not error messages

hoo added a subscriber: hoo.

I ran a re-check on the aforementioned patch and it passes now. Resolving.

Thanks for fixing, I only caught the extensions whose tests were executed along with MediaWIki core.