public function EntityTypeWithoutLanguageFormTest::testEmptyLangcode in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php \Drupal\Tests\language\Functional\EntityTypeWithoutLanguageFormTest::testEmptyLangcode()
- 10 core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php \Drupal\Tests\language\Functional\EntityTypeWithoutLanguageFormTest::testEmptyLangcode()
Tests configuration options with an entity without language definition.
File
- core/
modules/ language/ tests/ src/ Functional/ EntityTypeWithoutLanguageFormTest.php, line 48
Class
- EntityTypeWithoutLanguageFormTest
- Tests entity type without language support.
Namespace
Drupal\Tests\language\FunctionalCode
public function testEmptyLangcode() {
// Assert that we can not enable language select from
// content language settings page.
$this
->drupalGet('admin/config/regional/content-language');
$this
->assertSession()
->fieldNotExists('entity_types[no_language_entity_test]');
}