We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 8 | class CrudPanelObjectGroupTest extends \Backpack\CRUD\Tests\config\CrudPanel\BaseCrudPanel |
||
| 9 | { |
||
| 10 | public function testItCanCreateAGroupOfCrudObjects() |
||
| 11 | { |
||
| 12 | $this->crudPanel->group( |
||
| 13 | $this->crudPanel->field('test'), |
||
| 14 | $this->crudPanel->field('test2') |
||
| 15 | )->label('testing'); |
||
|
|
|||
| 16 | |||
| 17 | $this->assertEquals('testing', $this->crudPanel->fields()['test']['label']); |
||
| 18 | $this->assertEquals('testing', $this->crudPanel->fields()['test2']['label']); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function testItCanCreateAGroupOfCrudObjectsFromArrayInput() |
||
| 30 | } |
||
| 31 | } |
||
| 32 |