We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | public function testItCanConfigureOperations() |
||
| 18 | { |
||
| 19 | $this->crudPanel->operation(['create', 'update'], function () { |
||
| 20 | $this->crudPanel->addField(['name' => 'test', 'type' => 'text']); |
||
| 21 | }); |
||
| 22 | $this->crudPanel->applyConfigurationFromSettings('create'); |
||
| 23 | |||
| 24 | $this->assertEquals(count($this->crudPanel->fields()), 1); |
||
| 25 | } |
||
| 27 |