MDL-55804 forms: Return exported data through _prepareValue
This commit is contained in:
@@ -133,7 +133,7 @@ class core_form_dateselector_testcase extends advanced_testcase {
|
||||
$el->_createElements();
|
||||
$submitvalues = array('dateselector' => $vals);
|
||||
|
||||
$this->assertSame(array('dateselector' => $vals['timestamp']), $el->exportValue($submitvalues),
|
||||
$this->assertSame(array('dateselector' => $vals['timestamp']), $el->exportValue($submitvalues, true),
|
||||
"Please check if timezones are updated (Site adminstration -> location -> update timezone)");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user