Page MenuHomePhabricator

TemplateWizard has no PHPUnit tests
Closed, ResolvedPublic

Event Timeline

thiemowmde renamed this task from TemplateWizard has no tests to TemplateWizard has no PHPUnit tests.Jun 15 2023, 9:27 AM

Does it need to have any PHP tests? The only PHP code in it is two hook handlers, one to load a RL module and one to add a frontend config var (total of about 3 lines of actual code).

If it helps with automated scanning of missing tests, then no worries let's add the tests. But otherwise, I probably wouldn't bother.

Change #1072104 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/extensions/TemplateWizard@master] Add unit test for Hooks

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

Change #1072104 merged by jenkins-bot:

[mediawiki/extensions/TemplateWizard@master] Add unit test for Hooks

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