Skip renderHelp test as skipped if not override

This commit is contained in:
Mathieu Piot 2018-03-21 19:15:43 +01:00
parent d84be700b2
commit 437b77e81a

View File

@ -113,7 +113,10 @@ abstract class AbstractLayoutTest extends FormIntegrationTestCase
abstract protected function renderLabel(FormView $view, $label = null, array $vars = array());
abstract protected function renderHelp(FormView $view);
protected function renderHelp(FormView $view)
{
$this->markTestSkipped(sprintf('Legacy %s::renderHelp() is not implemented.', get_class($this)));
}
abstract protected function renderErrors(FormView $view);