mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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::__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