function ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable

Same name and namespace in other branches
  1. 9 core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable()
  2. 8.9.x core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable()
  3. 10 core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable()

Tests that revision_log is not translatable.

File

core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php, line 170

Class

ContentTranslationStandardFieldsTest
Tests the Content translation settings.

Namespace

Drupal\Tests\content_translation\Functional

Code

public function testRevisionLogNotTranslatable() : void {
    $path = 'admin/config/regional/content-language';
    $this->drupalGet($path);
    $this->assertSession()
        ->fieldNotExists('edit-settings-node-article-fields-revision-log');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.