Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function testConstruct() |
||
16 | { |
||
17 | $page = new \Page(); |
||
18 | $controller = new PartialUserFormVerifyController($page); |
||
19 | $form = new PasswordForm($controller, 'PasswordForm'); |
||
20 | |||
21 | $this->assertInstanceOf(Form::class, $form); |
||
22 | $this->assertInstanceOf(PasswordField::class, $form->Fields()->dataFieldByName('Password')); |
||
23 | $this->assertInstanceOf(FieldList::class, $form->Actions()); |
||
24 | } |
||
25 | } |
||
26 |