$edit =
[ 'entity_types[node]' => 1,
'settings[node][article][translatable]' => 1,
'settings[node][article][fields][path]' => 1,
'settings[node][article][fields][body]' => 1,
'settings[node][article][settings][language][language_alterable]' => 1,
];
$this->
drupalGet('admin/config/regional/content-language'
);
$this->
submitForm($edit, 'Save configuration'
);
\Drupal::
entityTypeManager()->
clearCachedDefinitions();
$this->
setupWorkspaceSwitcherBlock();
} /**
* Tests path aliases with workspaces.
*/
public function testPathAliases() { // Create a published node in Live, without an alias.
$node =
$this->
drupalCreateNode([ 'type' => 'article',
'status' => TRUE,
]);