Page MenuHomePhabricator

[Unit testing] For an existing newsletter `FooBarExists`, API edit should reflect changes
Closed, ResolvedPublic

Description

Follow instructions as per https://phabricator.wikimedia.org/T183817 to mock an API edit an existing Newsletter FooBarExists. This unit test should:

The original newsletter (Newsletter:FooBarExists) can be created without using APIEdits, and just by new Newsletter() with values.

  1. try updating description
  2. try updating main page

Event Timeline

Change 401185 had a related patch set uploaded (by Pppery; owner: Pppery):
[mediawiki/extensions/Newsletter@master] Add unit tests for changing description and main page of newsletters via API

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

Pppery claimed this task.Dec 31 2017, 3:33 PM
01tonythomas closed this task as Resolved.Dec 31 2017, 4:59 PM

Thanks, works!

Change 401185 merged by jenkins-bot:
[mediawiki/extensions/Newsletter@master] Add unit tests for changing description and main page of newsletters via API

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