$this->assertText("Dates without hours granularity must not use any timezone handling.","Dates without hours granularity required to use timezone handling of 'none.'");
$this->deleteDateField($label);
}
@@ -270,6 +270,11 @@ class DateTimezoneTestCase extends DateFieldTestBase {
/**
* Verify field timezones work properly when date-conversion is enabled.
*
* The time values used in this test are based upon example data from an issue
$this->assertText($edit['title'],"Node has been created");
$this->assertNoText('does not match the expected format.');
foreach($should_beas$assertion){
$this->assertText($assertion,"Found the correct date for a $field_type field using $max_granularity granularity with $tz_handling timezone handling.");
$this->assertText($assertion,"Found the correct date for a $field_type field using $granularity granularity with $tz_handling timezone handling.");
$this->assertOptionSelected('edit-field-test-und-'.$key.'-timezone-timezone',$timezone,"Found the correct timezone $timezone for a $field_type field using $max_granularity granularity with $tz_handling timezone handling.");
$this->assertOptionSelected('edit-field-test-und-'.$key.'-timezone-timezone',$timezone,"Found the correct timezone $timezone for a $field_type field using $granularity granularity with $tz_handling timezone handling.");
$this->assertText($edit['title'],"Node has been created");
$this->assertText($should_be,"Found the correct date for a $field_type field using $max_granularity granularity with $tz_handling timezone handling.");
$this->assertText($should_be,"Found the correct date for a $field_type field using $granularity granularity with $tz_handling timezone handling.");