public function testWeekFieldWithSetDefault()
{
$this->specify("weekField with setDefault returns invalid HTML Strict", function () {
$options = ['x_name', 'name' => 'x_other', 'class' => 'x_class', 'size' => '10'];
$expected = '<input type="week" id="x_name" ' . 'name="x_other" value="x_value" class="x_class" ' . 'size="10"';
$this->tester->testFieldParameter('weekField', $options, $expected, false, 'setDefault');
});
$this->specify("weekField with setDefault returns invalid HTML XHTML", function () {
$options = ['x_name', 'name' => 'x_other', 'class' => 'x_class', 'size' => '10'];
$expected = '<input type="week" id="x_name" ' . 'name="x_other" value="x_value" class="x_class" ' . 'size="10"';
$this->tester->testFieldParameter('weekField', $options, $expected, true, 'setDefault');
});
}