diff --git a/core/modules/comment/lib/Drupal/comment/Tests/CommentLanguageTest.php b/core/modules/comment/lib/Drupal/comment/Tests/CommentLanguageTest.php index 0bfbfbf..283f809 100644 --- a/core/modules/comment/lib/Drupal/comment/Tests/CommentLanguageTest.php +++ b/core/modules/comment/lib/Drupal/comment/Tests/CommentLanguageTest.php @@ -73,7 +73,6 @@ function setUp() { $field = field_info_field('comment', 'comment_body'); $field->translatable = TRUE; $field->save(); - $this->assertTrue(field_is_translatable('comment', $field), 'Comment body is translatable.'); } diff --git a/core/modules/options/lib/Drupal/options/Tests/OptionsFieldUITest.php b/core/modules/options/lib/Drupal/options/Tests/OptionsFieldUITest.php index 53c83fe..7f18ec2 100644 --- a/core/modules/options/lib/Drupal/options/Tests/OptionsFieldUITest.php +++ b/core/modules/options/lib/Drupal/options/Tests/OptionsFieldUITest.php @@ -233,10 +233,8 @@ function testOptionsAllowedValuesBoolean() { $this->assertFieldByName('off', $off, t("The 'Off' value is stored correctly.")); $field = field_info_field('node', $this->field_name); $this->assertEqual($field->getFieldSetting('allowed_values'), $allowed_values, 'The allowed value is correct'); - $on_value = $field->getFieldSetting('on'); - $this->assertFalse(isset($on_value), 'The on value is not saved into settings'); - $off_value = $field->getFieldSetting('off'); - $this->assertFalse(isset($off_value), 'The off value is not saved into settings'); + $this->assertNull($field->getFieldSetting('on'), 'The on value is not saved into settings'); + $this->assertNull($field->getFieldSetting('off'), 'The off value is not saved into settings'); } /**