You are here

public function ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest::testRevisionLogNotTranslatable()
  2. 9 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 78

Class

ContentTranslationStandardFieldsTest
Tests the Content translation settings using the standard profile.

Namespace

Drupal\Tests\content_translation\Functional

Code

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