Loading core/modules/content_translation/tests/src/FunctionalJavascript/ContentTranslationContextualLinksTest.php +3 −8 Original line number Diff line number Diff line Loading @@ -42,14 +42,9 @@ protected function setUp(): void { $this->drupalCreateContentType(['type' => 'page']); // Enable content translation. $this->drupalLogin($this->rootUser); $this->drupalGet('admin/config/regional/content-language'); $edit = [ 'entity_types[node]' => TRUE, 'settings[node][page][translatable]' => TRUE, ]; $this->submitForm($edit, 'Save configuration'); $this->drupalLogout(); $content_translation_manager = $this->container->get('content_translation.manager'); $content_translation_manager->setEnabled('node', 'page', TRUE); $this->rebuildContainer(); // Create a translator user. $permissions = [ Loading Loading
core/modules/content_translation/tests/src/FunctionalJavascript/ContentTranslationContextualLinksTest.php +3 −8 Original line number Diff line number Diff line Loading @@ -42,14 +42,9 @@ protected function setUp(): void { $this->drupalCreateContentType(['type' => 'page']); // Enable content translation. $this->drupalLogin($this->rootUser); $this->drupalGet('admin/config/regional/content-language'); $edit = [ 'entity_types[node]' => TRUE, 'settings[node][page][translatable]' => TRUE, ]; $this->submitForm($edit, 'Save configuration'); $this->drupalLogout(); $content_translation_manager = $this->container->get('content_translation.manager'); $content_translation_manager->setEnabled('node', 'page', TRUE); $this->rebuildContainer(); // Create a translator user. $permissions = [ Loading