- Issue created by @catch
- Status changed to Needs reviewabout 2 years ago 4:31pm 29 September 2023
- last updateabout 2 years ago 30,360 pass
- @catch opened merge request.
- last updateabout 2 years ago Custom Commands Failed
- Status changed to Needs workabout 2 years ago 8:26pm 29 September 2023
- last updateabout 2 years ago 30,360 pass
- Status changed to Needs reviewabout 2 years ago 8:45pm 29 September 2023
- Status changed to RTBCabout 2 years ago 10:50pm 29 September 2023
- ๐บ๐ธUnited States smustgraveThanks taking a look at the moves and agree with the placement of the functions. Don't think any test coverage was lost either. 
- last updateabout 2 years ago 30,360 pass
- last updateabout 2 years ago 30,371 pass
- last updateabout 2 years ago Custom Commands Failed
- last updateabout 2 years ago Custom Commands Failed
- First commit to issue fork.
- last updateabout 2 years ago Custom Commands Failed
- last updateabout 2 years ago 30,381 pass, 1 fail
- ๐ฌ๐งUnited Kingdom catchA cspell:ignore needed to move too, probably dictionary changes elsewhere uncovered it. 
- last updateabout 2 years ago 30,392 pass
- last updateabout 2 years ago 30,394 pass
- last updateabout 2 years ago 30,397 pass
- last updateabout 2 years ago 30,412 pass
- last updateabout 2 years ago 30,417 pass
- last updateabout 2 years ago 30,425 pass
- last updateabout 2 years ago 30,426 pass
- last updateabout 2 years ago 30,436 pass
- last updateabout 2 years ago 30,438 pass
- last updateabout 2 years ago 30,464 pass
- last updateabout 2 years ago 30,481 pass
- 47:53 - 46:42 Running
- last updatealmost 2 years ago 30,486 pass
- last updatealmost 2 years ago 30,486 pass
- last updatealmost 2 years ago 30,493 pass
- last updatealmost 2 years ago 30,516 pass
- last updatealmost 2 years ago 30,519 pass
- last updatealmost 2 years ago 30,530 pass
- Status changed to Needs workalmost 2 years ago 9:29pm 14 November 2023
- ๐บ๐ธUnited States xjmSee on the MR regarding French vs. German. I confirmed that this change set is purely moved test code aside from the following changes to that method: diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php index 579466f730..40b6e5bec6 100644 --- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php +++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php @@ -5,7 +5,7 @@ use Drupal\Core\Language\Language; use Drupal\Core\Language\LanguageInterface; -// cspell:ignore libellรฉ viewsviewfiles +// cspell:ignore viewsviewfiles /** * Translate settings and entities to various languages. @@ -124,7 +124,6 @@ public function testSiteInformationTranslationUi() { * Tests date format translation. */ public function testDateFormatTranslation() { - $this->drupalLogin($this->adminUser); $this->drupalGet('admin/config/regional/date-time'); @@ -151,7 +150,7 @@ public function testDateFormatTranslation() { $this->drupalGet($translation_base_url); // 'Add' link should be present for French translation. - $translation_page_url = "$translation_base_url/fr/add"; + $translation_page_url = "$translation_base_url/de/add"; $this->assertSession()->linkByHrefExists($translation_page_url); // Make sure original text is present on this page. @@ -163,7 +162,7 @@ public function testDateFormatTranslation() { // Update translatable fields. $edit = [ - 'translation[config_names][core.date_format.' . $id . '][label]' => $id . ' - FR', + 'translation[config_names][core.date_format.' . $id . '][label]' => $id . ' - DE', 'translation[config_names][core.date_format.' . $id . '][pattern]' => 'D', ]; @@ -172,16 +171,16 @@ public function testDateFormatTranslation() { $this->submitForm($edit, 'Save translation'); // Get translation and check we've got the right value. - $override = \Drupal::languageManager()->getLanguageConfigOverride('fr', 'core.date_format.' . $id); + $override = \Drupal::languageManager()->getLanguageConfigOverride('de', 'core.date_format.' . $id); $expected = [ - 'label' => $id . ' - FR', + 'label' => $id . ' - DE', 'pattern' => 'D', ]; $this->assertEquals($expected, $override->get()); // Formatting the date 8 / 27 / 1985 @ 13:37 EST with pattern D should // display "Tue". - $formatted_date = $this->container->get('date.formatter')->format(494015820, $id, NULL, 'America/New_York', 'fr'); + $formatted_date = $this->container->get('date.formatter')->format(494015820, $id, NULL, 'America/New_York', 'de'); $this->assertEquals('Tue', $formatted_date, 'Got the right formatted date using the date format translation pattern.'); } }
- Status changed to RTBCalmost 2 years ago 3:55pm 15 November 2023
- ๐ฌ๐งUnited Kingdom catchReplied on the MR, and pushed a commit changing the comment - it's to make the method compatible with the test class it's being moved to, which only uses German and Spanish at the moment. 
- Status changed to Downportalmost 2 years ago 7:35pm 15 November 2023
- ๐บ๐ธUnited States xjmReviewed the whole method and looked at the parent test as well. Looks good now. Committed to 11.x and 10.2.x. Thanks! As a test performance improvement, this is also a good choice for backport to 10.1.x, but it did not cherry-pick cleanly. Setting PTBP for a 10.1.x backport. 
- Status changed to Fixedalmost 2 years ago 7:41pm 8 December 2023
- ๐บ๐ธUnited States xjmFinal patch release of 10.1 is out, so this can go back to "Fixed". 
- Automatically closed - issue fixed for 2 weeks with no activity.