You are here

function ContentTranslationSettingsTest::testNonTranslatableTranslationSettingsUI in Zircon Profile 8

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

Tests the translatable settings checkbox for untranslatable entities.

File

core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php, line 288
Contains \Drupal\content_translation\Tests\ContentTranslationSettingsTest.

Class

ContentTranslationSettingsTest
Tests the content translation settings UI.

Namespace

Drupal\content_translation\Tests

Code

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