Page MenuHomePhabricator

[Unit testing] On successful API edit to newsletter namespace, a newsletter should be created
Closed, ResolvedPublic

Description

Follow instructions as per https://phabricator.wikimedia.org/T183817 to mock an API edit

On success, make sure Nesletter:Foobar is:

  1. Created and saved in database and have the data as expected (description, mainpage)
  2. Page Newsletter:Foobar exists and have the data as expected (description, mainpage)
  3. User UserName is a publisher and subscribed to Newsletter Foobar.

Event Timeline

Change 401115 had a related patch set uploaded (by Pppery; owner: Pppery):
[mediawiki/extensions/Newsletter@master] Add unit test for creation of newsletters via API

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

Pppery claimed this task.Dec 31 2017, 2:10 PM

Change 401115 merged by jenkins-bot:
[mediawiki/extensions/Newsletter@master] Add unit test for creation of newsletters via API

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

Pppery closed this task as Resolved.Dec 31 2017, 2:15 PM
Pppery removed a project: Patch-For-Review.