Fix trivial publishing and add a unit test for the backend.
Review Request #7336 — Created May 26, 2015 and submitted — Latest diff uploaded
This change fixes up the plumbing of the "trivial" option, and adds a new unit
test to verify that publishing a draft with ?trivial=1 does not send an e-mail.
- Configured e-mail with the console backend and checked that publishing with
the box both checked and un-checked did the correct thing. - Turned off e-mail and saw that the check-box no longer appeared, and that
publishing still worked. - Ran unit tests.