You are here

public function EntityTypeWithoutLanguageFormTest::testEmptyLangcode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/src/Tests/EntityTypeWithoutLanguageFormTest.php \Drupal\language\Tests\EntityTypeWithoutLanguageFormTest::testEmptyLangcode()

Tests configuration options with an entity without language definition.

File

core/modules/language/src/Tests/EntityTypeWithoutLanguageFormTest.php, line 48
Contains \Drupal\language\Tests\EntityTypeWithoutLanguageFormTest.

Class

EntityTypeWithoutLanguageFormTest
Tests entity type without language support.

Namespace

Drupal\language\Tests

Code

public function testEmptyLangcode() {

  // Assert that we can not enable language select from
  // content language settings page.
  $this
    ->drupalGet('admin/config/regional/content-language');
  $this
    ->assertNoField('entity_types[no_language_entity_test]');
}