You are here

public function ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/content_translation/src/Tests/ContentTranslationStandardFieldsTest.php \Drupal\content_translation\Tests\ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable()

Test that revision_log is not translatable.

File

core/modules/content_translation/src/Tests/ContentTranslationStandardFieldsTest.php, line 83
Contains \Drupal\content_translation\Tests\ContentTranslationStandardFieldsTest.

Class

ContentTranslationStandardFieldsTest
Tests the Content translation settings using the standard profile.

Namespace

Drupal\content_translation\Tests

Code

public function testRevisionLogNotTranslatable() {
  $path = 'admin/config/regional/content-language';
  $this
    ->drupalGet($path);
  $this
    ->assertNoFieldByXPath("//input[@id='edit-settings-node-article-fields-revision-log']");
}