You are here

public function RangeInternationalizationWebTestCase::testRangeFieldInstanceSettingsAreTranslatable in Range 7

Verifies that range field instance settings are translatable.

File

tests/range.i18n.test, line 105
Contains range i18n tests.

Class

RangeInternationalizationWebTestCase
Tests translatability of range fields.

Code

public function testRangeFieldInstanceSettingsAreTranslatable() {
  $field_name = $this
    ->getTestFieldName();
  $strings = $this
    ->getRangeFieldInstanceTranslatableStringSources();
  foreach ($strings as $key => $value) {
    $this
      ->_testRangeFieldInstanceSettingIsTranslatable($value, "{$field_name}:{$this->contentType}:{$key}");
  }
}