Page MenuHomePhabricator

ListToggle class does not have PHPUnit tests
Closed, ResolvedPublic

Description

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

If you're not already familiar with PHPUnit tests, https://www.mediawiki.org/wiki/Manual:PHP_unit_testing/Writing_unit_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

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

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

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

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