Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public function testRequiredSetter(): void |
||
38 | { |
||
39 | // test body |
||
40 | $field = new \Mezon\Gui\Field(json_decode(file_get_contents(__DIR__ . '/conf/required-setter.json'), true), ''); |
||
41 | |||
42 | // assertions |
||
43 | $this->assertStringContainsString('prefixfield-name1111select2', $field->html(), 'Invalid field "name" value'); |
||
44 | } |
||
70 |