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 | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class TranslatableFieldsTest extends BaseDBCrudPanel |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Setup function for each test. |
||
| 15 | */ |
||
| 16 | protected function setUp(): void |
||
| 17 | { |
||
| 18 | parent::setUp(); |
||
| 19 | |||
| 20 | $this->crudPanel->setModel(TranslatableModel::class); |
||
| 21 | |||
| 22 | $this->crudPanel->field('title'); |
||
| 23 | $this->crudPanel->field('description'); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function testFieldsGetsTranslated() |
||
| 46 | } |
||
| 47 | } |
||
| 48 |