Page MenuHomePhabricator

[GCI][Unit testing] Unit test condition "The main page should be unique per newsletter" in NewsletterCreate
Closed, ResolvedPublic

Description

Validation to test: An existing newsletter has the same main page. Please enter another title. is shown up when you try to create two newsletter with same main page.

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

Mentors: @01tonythomas and others.

Event Timeline

Change 400192 had a related patch set uploaded (by Pppery; owner: Pppery):
[mediawiki/extensions/Newsletter@master] Add a unit test to check that the main page must be unique per newsletter

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

Change 400192 merged by jenkins-bot:
[mediawiki/extensions/Newsletter@master] Add a unit test to check that the main page must be unique per newsletter

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

Change 400242 had a related patch set uploaded (by Ryan10145; owner: Ryan10145):
[mediawiki/extensions/Newsletter@master] Added a unit test to check that the name must be unique per newsletter

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

Oops, made a typo with the bug number, sorry.