Mercurial > hg > isophonics-drupal-site
comparison core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.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 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
39 $this->moduleHandler = $this->container->get('module_handler'); | 39 $this->moduleHandler = $this->container->get('module_handler'); |
40 $this->projectStorage = $this->container->get('locale.project'); | 40 $this->projectStorage = $this->container->get('locale.project'); |
41 \Drupal::state()->set('locale.remove_core_project', TRUE); | 41 \Drupal::state()->set('locale.remove_core_project', TRUE); |
42 } | 42 } |
43 | 43 |
44 | |
45 /** | 44 /** |
46 * Tests locale_translation_clear_cache_projects(). | 45 * Tests locale_translation_clear_cache_projects(). |
47 */ | 46 */ |
48 public function testLocaleTranslationClearCacheProjects() { | 47 public function testLocaleTranslationClearCacheProjects() { |
49 $this->moduleHandler->loadInclude('locale', 'inc', 'locale.translation'); | 48 $this->moduleHandler->loadInclude('locale', 'inc', 'locale.translation'); |