Exemplo n.º 1
0
 public function to_datetime_select_tag_without_error_wrapping($options = array())
 {
     return parent::to_datetime_select_tag($options);
 }
Exemplo n.º 2
0
 public function test_to_datetime_select_tag()
 {
     $active_record = new MockAkActiveRecord($this);
     $active_record->setReturnValue('get', '1978-06-16');
     $ak_form_helper_instance_tag = new AkFormHelperInstanceTag('person', 'join_date', $active_record, null, $active_record);
     $this->assertEqual($ak_form_helper_instance_tag->to_datetime_select_tag(), file_get_contents(HelperUnitTest::getFixturesDir() . DS . 'form_helper_to_datetime_select_tag.txt'));
 }