mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #5229 from madmatt/pulls/fix-gridfield-annotations
MINOR: Fix PHPUnit @covers assertions for GridFieldTest
This commit is contained in:
commit
1bcd755120
@ -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…
x
Reference in New Issue
Block a user