Page MenuHomePhabricator

ListToggle class does not have PHPUnit tests
Closed, ResolvedPublic


In MediaWiki core, the ListToggle class does not have any tests.

If you're not already familiar with PHPUnit tests, has links to some good material on the basics of testing.

I would also recommend looking at other tests in the tests/phpunit/includes/ directory of MediaWiki core for an example of how we currently test classes.

I'll mentor this for Google-Code-in-2017

Event Timeline

Legoktm created this task.Jan 2 2018, 9:43 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 2 2018, 9:43 AM

Change 401833 had a related patch set uploaded (by Ryan10145; owner: Ryan10145):
[mediawiki/core@master] Added Tests for ListToggle

Change 401833 merged by jenkins-bot:
[mediawiki/core@master] Added Tests for ListToggle

Ryan10145 closed this task as Resolved.Jan 5 2018, 12:55 AM