return type void is required as of PHPunit 7, breaking test compatibility with PHP < 7.1
This commit is contained in:
@@ -30,7 +30,7 @@ class ViewTest extends TestCase
|
||||
|
||||
private $_content = array();
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
/* Setup Routine */
|
||||
$page = new View;
|
||||
@@ -92,11 +92,6 @@ class ViewTest extends TestCase
|
||||
}
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
{
|
||||
/* Tear Down Routine */
|
||||
}
|
||||
|
||||
public function testTemplateRendersCorrectly()
|
||||
{
|
||||
foreach ($this->_content as $template => $content) {
|
||||
|
||||
Reference in New Issue
Block a user