Page MenuHomePhabricator

Fix ZErrorFactoryTest to not throw a PHP notice
Open, MediumPublic

Description

00:01:27.747 Notice: Trying to get property 'failure' of non-object in /workspace/src/extensions/WikiLambda/tests/phpunit/integration/ZErrorFactoryTest.php on line 69
00:01:27.747 
00:01:27.747 Warning: Invalid argument supplied for foreach() in /workspace/src/extensions/WikiLambda/tests/phpunit/integration/ZErrorFactoryTest.php on line 69

Event Timeline

Change 797337 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Follow-up 0af102e5: Switch ZErrorFactoryTest to use the 'new' structure of the test file

https://gerrit.wikimedia.org/r/797337

Change 803266 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Follow-up 0af102e5: Don't have ZErrorFactoryTest spam an error when doing nothing

https://gerrit.wikimedia.org/r/803266

Change 803266 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Follow-up 0af102e5: Don't have ZErrorFactoryTest spam an error when doing nothing

https://gerrit.wikimedia.org/r/803266

Mcastro raised the priority of this task from Low to Medium.Apr 4 2024, 4:55 PM
Mcastro moved this task from To triage: Nice-to-haves to Backlog on the Abstract Wikipedia team board.

Change #1016818 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (5db8cea)

https://gerrit.wikimedia.org/r/1016818

Change #1016818 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (5db8cea)

https://gerrit.wikimedia.org/r/1016818

Change #1020837 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator 2024-04-04-132719 to 2024-04-17-125039

https://gerrit.wikimedia.org/r/1020837

Change #1020837 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator 2024-04-04-132719 to 2024-04-17-125039

https://gerrit.wikimedia.org/r/1020837

Change #1031005 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-04-18-150843 to 2024-05-13-145650

https://gerrit.wikimedia.org/r/1031005

Change #1031005 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-04-18-150843 to 2024-05-13-145650

https://gerrit.wikimedia.org/r/1031005