diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php index 65a66a91f7..d2bb44333f 100644 --- a/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php +++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php @@ -148,9 +148,9 @@ protected function doTestBasicTranslation() { $created_field_name = $entity->hasField('content_translation_created') ? 'content_translation_created' : 'created'; if ($entity->getFieldDefinition($created_field_name)->isTranslatable()) { - // Verify that the translation creation timestamp of the target translation - // language is newer than the creation timestamp of the source translation - // default language for the translatable created field. + // Verify that the translation creation timestamp of the target + // translation language is newer than the creation timestamp of the source + // translation default language for the translatable created field. $this->assertGreaterThan($metadata_source_translation->getCreatedTime(), $metadata_target_translation->getCreatedTime()); } else { diff --git a/core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php b/core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php index 31312dd8a4..133cf9621e 100644 --- a/core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php +++ b/core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php @@ -179,7 +179,7 @@ public function testAlphabeticalDisplaySettings() { $start = strpos($page_text, 'view modes'); $pos = $start; $list = ['Full content', 'RSS', 'Search index', 'Search result', 'Teaser']; - // Verify that the order of the view modes is correct on page. + // Verify that the order of the view modes is correct on the page. foreach ($list as $name) { $new_pos = strpos($page_text, $name, $start); $this->assertGreaterThan($pos, $new_pos); @@ -203,7 +203,7 @@ public function testAlphabeticalDisplaySettings() { $start = strpos($page_text, 'view modes'); $pos = $start; $list = ['Breezer', 'Full content']; - // Verify that the order of the view modes is correct on page. + // Verify that the order of the view modes is correct on the page. foreach ($list as $name) { $new_pos = strpos($page_text, $name, $start); $this->assertGreaterThan($pos, $new_pos); diff --git a/core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php b/core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php index 7b87ac9ffa..b9af7b0f8b 100644 --- a/core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php +++ b/core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php @@ -113,7 +113,8 @@ public function testUpdateCron() { $history = locale_translation_get_file_history(); $initial = $initial_history['contrib_module_two']['de']; $current = $history['contrib_module_two']['de']; - // Verify that the translation of contrib_module_one is imported and updated. + // Verify that the translation of contrib_module_one is imported and + // updated. $this->assertGreaterThan($initial->timestamp, $current->timestamp); $this->assertGreaterThan($initial->last_checked, $current->last_checked); } diff --git a/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php b/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php index 65f06bc1f8..7ebfd324ac 100644 --- a/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php +++ b/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php @@ -142,9 +142,8 @@ public function testUpdateImportSourceRemote() { // from the database. The function was called earlier during this test. drupal_static_reset('locale_translation_get_file_history'); $history = locale_translation_get_file_history(); - // Verify that translation of contrib_module_one is imported. + // Verify that translation of contrib_module_one is imported and updated. $this->assertGreaterThanOrEqual($this->timestampNow, $history['contrib_module_one']['de']->timestamp); - // Verify that translation of contrib_module_one is updated. $this->assertGreaterThanOrEqual($this->timestampNow, $history['contrib_module_one']['de']->last_checked); $this->assertEqual($history['contrib_module_two']['de']->timestamp, $this->timestampNew, 'Translation of contrib_module_two is imported'); // Verify that translation of contrib_module_two is updated. diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php index 444c7a3b64..6b5d9a70de 100644 --- a/core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php +++ b/core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php @@ -113,8 +113,8 @@ public function testSpecificSuggestionsAlter() { $this->drupalGet('theme-test/specific-suggestion-alter'); $this->assertText('Template overridden based on suggestion alter hook determined by the base hook.'); $raw_content = $this->getSession()->getPage()->getContent(); - // Verify that a specific theme call is added to the suggestions array before - // the suggestions alter hook. + // Verify that a specific theme call is added to the suggestions array + // before the suggestions alter hook. $this->assertLessThan(strpos($raw_content, 'theme_test_specific_suggestions__variant__foo'), strpos($raw_content, 'theme_test_specific_suggestions__variant')); }