diff --git a/test/unittests/NDB_PageTest.php b/test/unittests/NDB_PageTest.php index 4c8bef26730..a8d46b8fd68 100644 --- a/test/unittests/NDB_PageTest.php +++ b/test/unittests/NDB_PageTest.php @@ -256,7 +256,9 @@ public function testAddBasicDateWithNoDateOptions() 'label' => 'test_label', 'type' => 'date', 'class' => 'form-control input-sm', - 'options' => [] + 'options' => [ + 'maxYear' => '9999' + ] ], $this->_page->form->form['test_name'] ); @@ -279,7 +281,10 @@ public function testAddBasicDateWithDateOptionsSet() 'label' => 'test_label', 'type' => 'date', 'class' => 'form-control input-sm', - 'options' => ['someOption' => 'true'] + 'options' => [ + 'someOption' => 'true', + 'maxYear' => '9999' + ] ], $this->_page->form->form['test_name'] );