Increase OutputPage test coverage to >45%
authorAryeh Gregor <ayg@aryeh.name>
Thu, 2 Aug 2018 18:42:17 +0000 (21:42 +0300)
committerC. Scott Ananian <cscott@cscott.net>
Thu, 11 Oct 2018 22:59:42 +0000 (18:59 -0400)
commitff7c3c9f0348e668996a8514a536adc2c7809dcd
tree675c0923ed3711ec42b5c958cb2f80b0b0d63394
parente3030a102fe0ac5a04758504e6a59a90c2299dc1
Increase OutputPage test coverage to >45%

Also stop returning a value from OutputPage::adaptCdnTTL().  There are
no users and the value doesn't seem very helpful: one would probably
expect it to return the new value of mCdnMaxage, but instead it
returns the new value of mCdnMaxageLimit. Better to have no return
value than one that's easily misunderstood (*and* which nobody uses).

Change-Id: Ia9dab86923b839334eab9f6fde17c4aed52130ec
RELEASE-NOTES-1.32
includes/OutputPage.php
tests/phpunit/includes/OutputPageTest.php