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::getConfig
|
||||
* @covers GridField::setComponents
|
||||
* @covers GridField::getDefaultConfig
|
||||
* @covers GridFieldConfig_Base::__construct
|
||||
* @covers GridFieldConfig::addComponent
|
||||
*/
|
||||
public function testGridFieldDefaultConfig() {
|
||||
$obj = new GridField('testfield', 'testfield');
|
||||
@ -45,8 +45,8 @@ class GridFieldTest extends SapphireTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers GridField::__construct
|
||||
* @covers GridField::setComponents
|
||||
* @covers GridFieldConfig::__construct
|
||||
* @covers GridFieldConfig::addComponent
|
||||
*/
|
||||
public function testGridFieldSetCustomConfig() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user