diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php index 278e479..e39cb6c 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php @@ -490,7 +490,7 @@ function testUICustomizedStrings(){ ))->save(); // Create translation for new string and save it as non-customized. - $translation = $this->container->get('locale.storage')->createString(array( + $translation = $this->container->get('locale.storage')->createTranslation(array( 'lid' => $string->lid, 'language' => 'de', 'translation' => $this->randomName(100),