Editing unit tests: set title in context
authorMax Semenik <maxsem.wiki@gmail.com>
Thu, 17 Jul 2014 22:28:46 +0000 (15:28 -0700)
committerOri.livneh <ori@wikimedia.org>
Thu, 17 Jul 2014 23:59:00 +0000 (23:59 +0000)
commitbfa5d12e11af9a8fc30f04e541c28d11e62c3a18
treec9671ffc408d67f62bfa26e4edbfe8ac910de8cb
parent28d21be6247e967884bde9ec4b1e2e79533458c3
Editing unit tests: set title in context

It is assumed that users of EditFilterMergedContent hook need to get
the page being edited from context as it happens during normal functioning,
tests shouldn't violate this convention.

Bug: 66930
Change-Id: I8d453d819aad8630d4934a15e7bf512fa828fe24
tests/phpunit/includes/EditPageTest.php