Page MenuHomePhabricator

[Unit testing] Unit test `restoreNewsletter` in `includes/NewsletterDb.php`
Closed, ResolvedPublic

Description

Function to test: https://github.com/wikimedia/mediawiki-extensions-Newsletter/blob/master/includes/NewsletterDb.php#L284

You can find instructions on how to test in the parent task description, or https://phabricator.wikimedia.org/T183613

Mentor: @01tonythomas, and others

Details

Related Gerrit Patches:
mediawiki/extensions/Newsletter : masterUnit test NewsletterDb::restoreNewsletter

Event Timeline

nikitavbv added a subscriber: nikitavbv.

I will create a unit test for this!

Change 400232 had a related patch set uploaded (by Phantom42; owner: Phantom42):
[mediawiki/extensions/Newsletter@master] Unit test NewsletterDb::restoreNewsletter

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

01tonythomas closed this task as Resolved.Dec 26 2017, 2:44 PM

Nice. Thank you!

Change 400232 merged by jenkins-bot:
[mediawiki/extensions/Newsletter@master] Unit test NewsletterDb::restoreNewsletter

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