- Issue created by @catch
- Status changed to Needs review
over 1 year ago 4:31pm 29 September 2023 - last update
over 1 year ago 30,360 pass - @catch opened merge request.
- last update
over 1 year ago Custom Commands Failed - Status changed to Needs work
over 1 year ago 8:26pm 29 September 2023 - last update
over 1 year ago 30,360 pass - Status changed to Needs review
over 1 year ago 8:45pm 29 September 2023 - Status changed to RTBC
over 1 year ago 10:50pm 29 September 2023 - ๐บ๐ธUnited States smustgrave
Thanks taking a look at the moves and agree with the placement of the functions. Don't think any test coverage was lost either.
- last update
over 1 year ago 30,360 pass - last update
over 1 year ago 30,371 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - First commit to issue fork.
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 30,381 pass, 1 fail - ๐ฌ๐งUnited Kingdom catch
A cspell:ignore needed to move too, probably dictionary changes elsewhere uncovered it.
- last update
over 1 year ago 30,392 pass - last update
over 1 year ago 30,394 pass - last update
over 1 year ago 30,397 pass - last update
over 1 year ago 30,412 pass - last update
over 1 year ago 30,417 pass - last update
over 1 year ago 30,425 pass - last update
over 1 year ago 30,426 pass - last update
about 1 year ago 30,436 pass - last update
about 1 year ago 30,438 pass - last update
about 1 year ago 30,464 pass - last update
about 1 year ago 30,481 pass 43:46 42:35 Running- last update
about 1 year ago 30,486 pass - last update
about 1 year ago 30,486 pass - last update
about 1 year ago 30,493 pass - last update
about 1 year ago 30,516 pass - last update
about 1 year ago 30,519 pass - last update
about 1 year ago 30,530 pass - Status changed to Needs work
about 1 year ago 9:29pm 14 November 2023 - ๐บ๐ธUnited States xjm
See 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 RTBC
about 1 year ago 3:55pm 15 November 2023 - ๐ฌ๐งUnited Kingdom catch
Replied 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 Downport
about 1 year ago 7:35pm 15 November 2023 - ๐บ๐ธUnited States xjm
Reviewed 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 Fixed
about 1 year ago 7:41pm 8 December 2023 - ๐บ๐ธUnited States xjm
Final patch release of 10.1 is out, so this can go back to "Fixed".
Automatically closed - issue fixed for 2 weeks with no activity.