Add tests for OutputPage::addMeta and set{Index|Follow}Policy
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Tue, 24 Jan 2017 17:30:33 +0000 (18:30 +0100)
committerAmir Sarabadani <Ladsgroup@gmail.com>
Tue, 24 Jan 2017 17:49:39 +0000 (21:19 +0330)
commit3ee7729f199c5e5ac93be84b3d71b4b6491a9809
treeb257621249e4d2a7c3e542382ce3eaaa716ebc3e
parent25ce7592b7ffe2dae2fc89efca52a7ff31e01129
Add tests for OutputPage::addMeta and set{Index|Follow}Policy

This is a very basic test setup for the core functionality only. All
the special cases in getHeadLinksArray are currently not tested. But
this is a start.

This is relevant for the changes made in Ie8fd697.

Bug: T51859
Change-Id: I61e2da68ae0daea15fab2065a5dd63605d0b837d
tests/phpunit/includes/OutputPageTest.php