diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php index da8aa798109cd0600b07a1262a6492e4d5f2d999..af4c6e2eb130dee1962429bbbae3ab86a0dc7fe7 100644 --- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php +++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationInstallTest.php @@ -3,6 +3,7 @@ namespace Drupal\Tests\config_translation\Functional; use Drupal\FunctionalTests\Installer\InstallerTestBase; +use Drupal\Tests\node\Traits\ContentTypeCreationTrait; /** * Installs the config translation module on a site installed in non english. @@ -11,6 +12,8 @@ */ class ConfigTranslationInstallTest extends InstallerTestBase { + use ContentTypeCreationTrait; + /** * {@inheritdoc} */ @@ -19,7 +22,7 @@ class ConfigTranslationInstallTest extends InstallerTestBase { /** * {@inheritdoc} */ - protected $profile = 'standard'; + protected $defaultTheme = 'stark'; /** * {@inheritdoc} @@ -60,6 +63,9 @@ protected function getPo($langcode) { } public function testConfigTranslation() { + \Drupal::service('module_installer')->install(['node', 'field_ui']); + $this->createContentType(['type' => 'article']); + $this->drupalGet('admin/config/regional/language/add'); $this->submitForm(['predefined_langcode' => 'en'], 'Add custom language'); $this->drupalGet('admin/config/regional/language/add');