Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function testGetDataFromRequest() |
||
14 | { |
||
15 | $element = new \Nip_Form_Element_Dateinput(new \Nip\Form\Form()); |
||
16 | $element->setName('mydate'); |
||
17 | $html = $element->render(); |
||
18 | |||
19 | self::assertSame( |
||
20 | '<input type="date" name="mydate" id="mydate" class="datepicker " title="" />', |
||
21 | $html |
||
22 | ); |
||
25 |