Improve @covers for TemplateParserTest
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 28 Dec 2017 08:31:08 +0000 (00:31 -0800)
committerLegoktm <legoktm@member.fsf.org>
Thu, 28 Dec 2017 08:53:31 +0000 (08:53 +0000)
commit075ab54a4494f8652447744de7366f6d9355de26
treeec4f61f107c31ef248353683288d0310553d0370
parenta166e509431ab2f002e3ae68ac3b01a4261a9b16
Improve @covers for TemplateParserTest

The current @covers tags for TemplateParserTest are an incomplete call
stack for TemplateParser::processTemplate, and miss out on some
functions that are called. Those functions could be repeated in @covers
tags, but it would be burdensome to keep it up to date.

Instead, just use class level @covers for the whole test case. This also
takes care of the previously uncovered testEnableRecursivePartials().

Change-Id: I475ceba26b70a115b40d7735834a07f298f7bf99
tests/phpunit/includes/TemplateParserTest.php