comparison core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children af1871eacc83
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
35 protected $configFactory; 35 protected $configFactory;
36 36
37 /** 37 /**
38 * The string storage used in this test. 38 * The string storage used in this test.
39 * 39 *
40 * @var \Drupal\locale\StringStorageInterface; 40 * @var \Drupal\locale\StringStorageInterface
41 */ 41 */
42 protected $stringStorage; 42 protected $stringStorage;
43 43
44 /** 44 /**
45 * The locale configuration manager used in this test. 45 * The locale configuration manager used in this test.
184 protected function setUpNoTranslation($config_name, $key, $source, $langcode) { 184 protected function setUpNoTranslation($config_name, $key, $source, $langcode) {
185 $this->localeConfigManager->updateConfigTranslations([$config_name], [$langcode]); 185 $this->localeConfigManager->updateConfigTranslations([$config_name], [$langcode]);
186 $this->assertNoConfigOverride($config_name, $key, $source, $langcode); 186 $this->assertNoConfigOverride($config_name, $key, $source, $langcode);
187 $this->assertNoTranslation($config_name, $langcode); 187 $this->assertNoTranslation($config_name, $langcode);
188 } 188 }
189
190 189
191 /** 190 /**
192 * Sets up a configuration string with a translation. 191 * Sets up a configuration string with a translation.
193 * 192 *
194 * The actual configuration is already available by installing locale_test 193 * The actual configuration is already available by installing locale_test