You are here

public function ContentTranslationSettingsTest::testNonTranslatableTranslationSettingsUI in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationSettingsTest::testNonTranslatableTranslationSettingsUI()

Tests the translatable settings checkbox for untranslatable entities.

File

core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php, line 306

Class

ContentTranslationSettingsTest
Tests the content translation settings UI.

Namespace

Drupal\Tests\content_translation\Functional

Code

public function testNonTranslatableTranslationSettingsUI() {
  $this
    ->drupalGet('admin/config/regional/content-language');
  $this
    ->assertNoField('settings[entity_test][entity_test][translatable]');
}