diff --git a/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php b/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php
index 0c7b9de..1d90273 100644
--- a/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php
+++ b/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php
@@ -293,14 +293,11 @@ public function testConfigPoFile() {
       $this->assertText($config_string[1], format_string('Translation of @string found.', array('@string' => $config_string[0])));
     }
 
-    $locale_config = $this->container->get('locale.config.typed');
-    // Translations got recorded in the config system.
+    // Test that translations got recorded in the config system.
+    $overrides = \Drupal::service('language.config_factory_override');
     foreach ($config_strings as $config_key => $config_string) {
-      $wrapper = $locale_config->get($config_key);
-      $translation = $wrapper->getTranslation($langcode);
-      $properties = $translation->getProperties();
-      $this->assertEqual(count($properties), 1, 'Got the right number of properties with strict translation');
-      $this->assertEqual($properties[$config_string[2]]->getValue(), $config_string[1]);
+      $override = $overrides->getOverride($langcode, $config_key);
+      $this->assertEqual($override->get($config_string[2]), $config_string[1]);
     }
   }
 
