diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php index bd1f5a3..b934851 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php @@ -315,6 +315,7 @@ function testUpdateProjects() { // modules not hidden. locale_test_system_info_alter() modifies the project // info of the locale_test and locale_test_translate modules. state()->set('locale.test_system_info_alter', TRUE); + $this->resetAll(); // Check if interface translation data is collected from hook_info. $projects = locale_translation_project_list(); @@ -332,6 +333,7 @@ function testUpdateProjectsHidden() { // Make the test modules look like a normal custom module. state()->set('locale.test_system_info_alter', TRUE); + $this->resetAll(); // Set test condition: include disabled modules when building a project list. $edit = array(