public function testUrlContentTranslationWithPreferredAdminLanguage() { $assert_session =
$this->
assertSession();
// Set the interface language to use the preferred administration language
// and then the URL.
/** @var \Drupal\language\LanguageNegotiatorInterface $language_negotiator */
$language_negotiator = \Drupal::
getContainer()->
get('language_negotiator'
);
$language_negotiator->
saveConfiguration('language_interface',
[ 'language-user-admin' => 1,
'language-url' => 2,
'language-selected' => 3,
]);
// Set Content Language Negotiator to use just the URL.
$language_negotiator->
saveConfiguration('language_content',
[ 'language-url' => 4,
'language-selected' => 5,
]);
// See if the full view of the node in english is present and the