mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Fix PHPUnit @covers assertions for GridFieldTest
This resolves issues when PHPUnit is run strictly, where it exits when it hits an @covers annotation that references a method that doesn't exist
This commit is contained in:
parent
1e53f29f33
commit
c972692313
@ -22,8 +22,8 @@ class GridFieldTest extends SapphireTest {
|
|||||||
/**
|
/**
|
||||||
* @covers GridField::__construct
|
* @covers GridField::__construct
|
||||||
* @covers GridField::getConfig
|
* @covers GridField::getConfig
|
||||||
* @covers GridField::setComponents
|
* @covers GridFieldConfig_Base::__construct
|
||||||
* @covers GridField::getDefaultConfig
|
* @covers GridFieldConfig::addComponent
|
||||||
*/
|
*/
|
||||||
public function testGridFieldDefaultConfig() {
|
public function testGridFieldDefaultConfig() {
|
||||||
$obj = new GridField('testfield', 'testfield');
|
$obj = new GridField('testfield', 'testfield');
|
||||||
@ -45,8 +45,8 @@ class GridFieldTest extends SapphireTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers GridField::__construct
|
* @covers GridFieldConfig::__construct
|
||||||
* @covers GridField::setComponents
|
* @covers GridFieldConfig::addComponent
|
||||||
*/
|
*/
|
||||||
public function testGridFieldSetCustomConfig() {
|
public function testGridFieldSetCustomConfig() {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user