diff --git a/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php b/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php
index 7522b2acf4..7ba1c8540e 100644
--- a/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php
+++ b/core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php
@@ -23,7 +23,7 @@ protected function setUp(): void {
}
/**
- * Test Drupal 6 action migration to Drupal 8.
+ * Tests Drupal 6 action migration to Drupal 8.
*/
public function testActions() {
// Test default actions.
diff --git a/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php b/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
index 19096ae418..1d23729b56 100644
--- a/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
+++ b/core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
@@ -23,7 +23,7 @@ protected function setUp(): void {
}
/**
- * Test Drupal 7 action migration to Drupal 8.
+ * Tests Drupal 7 action migration to Drupal 8.
*/
public function testActions() {
// Test default actions.
diff --git a/core/modules/aggregator/tests/src/Functional/FeedFetcherPluginTest.php b/core/modules/aggregator/tests/src/Functional/FeedFetcherPluginTest.php
index cc5f8660c2..8bf1244e35 100644
--- a/core/modules/aggregator/tests/src/Functional/FeedFetcherPluginTest.php
+++ b/core/modules/aggregator/tests/src/Functional/FeedFetcherPluginTest.php
@@ -28,7 +28,7 @@ protected function setUp(): void {
}
/**
- * Test fetching functionality.
+ * Tests fetching functionality.
*/
public function testfetch() {
// Create feed with local url.
diff --git a/core/modules/aggregator/tests/src/Functional/FeedProcessorPluginTest.php b/core/modules/aggregator/tests/src/Functional/FeedProcessorPluginTest.php
index fe91b28e43..e9836ae277 100644
--- a/core/modules/aggregator/tests/src/Functional/FeedProcessorPluginTest.php
+++ b/core/modules/aggregator/tests/src/Functional/FeedProcessorPluginTest.php
@@ -31,7 +31,7 @@ protected function setUp(): void {
}
/**
- * Test processing functionality.
+ * Tests processing functionality.
*/
public function testProcess() {
$feed = $this->createFeed();
@@ -43,7 +43,7 @@ public function testProcess() {
}
/**
- * Test deleting functionality.
+ * Tests deleting functionality.
*/
public function testDelete() {
$feed = $this->createFeed();
@@ -55,7 +55,7 @@ public function testDelete() {
}
/**
- * Test post-processing functionality.
+ * Tests post-processing functionality.
*/
public function testPostProcess() {
$feed = $this->createFeed(NULL, ['refresh' => 1800]);
diff --git a/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php b/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php
index c3bec74be2..f12343d5a3 100644
--- a/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php
+++ b/core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php
@@ -28,7 +28,7 @@ protected function setUp(): void {
}
/**
- * Test Drupal 6 aggregator item migration to Drupal 8.
+ * Tests Drupal 6 aggregator item migration to Drupal 8.
*/
public function testAggregatorItem() {
/** @var \Drupal\aggregator\Entity\Item $item */
diff --git a/core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorItemTest.php b/core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorItemTest.php
index 8e20f5fe6a..66106feaa6 100644
--- a/core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorItemTest.php
+++ b/core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorItemTest.php
@@ -29,7 +29,7 @@ protected function setUp(): void {
}
/**
- * Test Drupal 7 aggregator item migration to Drupal 8.
+ * Tests Drupal 7 aggregator item migration to Drupal 8.
*/
public function testAggregatorItem() {
// Since the feed items can change as the fixture is updated normally,
diff --git a/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php b/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php
index 0219068ce8..0b2da48d46 100644
--- a/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php
+++ b/core/modules/aggregator/tests/src/Unit/Plugin/AggregatorPluginSettingsBaseTest.php
@@ -71,7 +71,7 @@ protected function setUp(): void {
}
/**
- * Test for AggregatorPluginSettingsBase.
+ * Tests for AggregatorPluginSettingsBase.
*
* Ensure that the settings form calls build, validate and submit methods on
* plugins that extend AggregatorPluginSettingsBase.
diff --git a/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php b/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
index d2ebf8d6b5..c21a3780cc 100644
--- a/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
+++ b/core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
@@ -36,7 +36,7 @@ class BasicAuthTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test http basic authentication.
+ * Tests http basic authentication.
*/
public function testBasicAuth() {
// Enable page caching.
@@ -86,7 +86,7 @@ public function testBasicAuth() {
}
/**
- * Test the global login flood control.
+ * Tests the global login flood control.
*/
public function testGlobalLoginFloodControl() {
$this->config('user.flood')
@@ -111,7 +111,7 @@ public function testGlobalLoginFloodControl() {
}
/**
- * Test the per-user login flood control.
+ * Tests the per-user login flood control.
*/
public function testPerUserLoginFloodControl() {
$this->config('user.flood')
diff --git a/core/modules/block/tests/src/Functional/BlockCacheTest.php b/core/modules/block/tests/src/Functional/BlockCacheTest.php
index cca0be87c7..9e2bc65179 100644
--- a/core/modules/block/tests/src/Functional/BlockCacheTest.php
+++ b/core/modules/block/tests/src/Functional/BlockCacheTest.php
@@ -72,7 +72,7 @@ protected function setUp(): void {
}
/**
- * Test "user.roles" cache context.
+ * Tests "user.roles" cache context.
*/
public function testCachePerRole() {
\Drupal::state()->set('block_test.cache_contexts', ['user.roles']);
@@ -119,7 +119,7 @@ public function testCachePerRole() {
}
/**
- * Test a cacheable block without any additional cache context.
+ * Tests a cacheable block without any additional cache context.
*/
public function testCachePermissions() {
// user.permissions is a required context, so a user with different
@@ -145,7 +145,7 @@ public function testCachePermissions() {
}
/**
- * Test non-cacheable block.
+ * Tests non-cacheable block.
*/
public function testNoCache() {
\Drupal::state()->set('block_test.cache_max_age', 0);
@@ -165,7 +165,7 @@ public function testNoCache() {
}
/**
- * Test "user" cache context.
+ * Tests "user" cache context.
*/
public function testCachePerUser() {
\Drupal::state()->set('block_test.cache_contexts', ['user']);
@@ -194,7 +194,7 @@ public function testCachePerUser() {
}
/**
- * Test "url" cache context.
+ * Tests "url" cache context.
*/
public function testCachePerPage() {
\Drupal::state()->set('block_test.cache_contexts', ['url']);
diff --git a/core/modules/block/tests/src/Functional/BlockFormInBlockTest.php b/core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
index a536500fa7..46e4f235df 100644
--- a/core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
+++ b/core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
@@ -35,7 +35,7 @@ protected function setUp(): void {
}
/**
- * Test to see if form in block's redirect isn't cached.
+ * Tests to see if form in block's redirect isn't cached.
*/
public function testCachePerPage() {
$form_values = ['email' => 'test@example.com'];
@@ -65,7 +65,7 @@ public function testCachePerPage() {
}
/**
- * Test the actual placeholders
+ * Tests the actual placeholders
*/
public function testPlaceholders() {
$this->drupalGet('test-multiple-forms');
diff --git a/core/modules/block/tests/src/Functional/BlockTest.php b/core/modules/block/tests/src/Functional/BlockTest.php
index c69263454e..482b466c0f 100644
--- a/core/modules/block/tests/src/Functional/BlockTest.php
+++ b/core/modules/block/tests/src/Functional/BlockTest.php
@@ -103,7 +103,7 @@ public function testBlockToggleVisibility() {
}
/**
- * Test block visibility when leaving "pages" textarea empty.
+ * Tests block visibility when leaving "pages" textarea empty.
*/
public function testBlockVisibilityListedEmpty() {
$block_name = 'system_powered_by_block';
@@ -180,7 +180,7 @@ public function testAddBlockFromLibraryWithWeight() {
}
/**
- * Test configuring and moving a module-define block to specific regions.
+ * Tests configuring and moving a module-define block to specific regions.
*/
public function testBlock() {
// Place page title block to test error messages.
@@ -272,7 +272,7 @@ public function testBlockThemeSelector() {
}
/**
- * Test block display of theme titles.
+ * Tests block display of theme titles.
*/
public function testThemeName() {
// Enable the help block.
@@ -289,7 +289,7 @@ public function testThemeName() {
}
/**
- * Test block title display settings.
+ * Tests block title display settings.
*/
public function testHideBlockTitle() {
$block_name = 'system_powered_by_block';
@@ -357,7 +357,7 @@ public function moveBlockToRegion(array $block, $region) {
}
/**
- * Test that cache tags are properly set and bubbled up to the page cache.
+ * Tests that cache tags are properly set and bubbled up to the page cache.
*
* Verify that invalidation of these cache tags works:
* - "block:"
diff --git a/core/modules/block/tests/src/Functional/BlockUiTest.php b/core/modules/block/tests/src/Functional/BlockUiTest.php
index dd65d2f3d9..4fd8084ce7 100644
--- a/core/modules/block/tests/src/Functional/BlockUiTest.php
+++ b/core/modules/block/tests/src/Functional/BlockUiTest.php
@@ -85,7 +85,7 @@ protected function setUp(): void {
}
/**
- * Test block demo page exists and functions correctly.
+ * Tests block demo page exists and functions correctly.
*/
public function testBlockDemoUiPage() {
$this->drupalPlaceBlock('help_block', ['region' => 'help']);
@@ -104,7 +104,7 @@ public function testBlockDemoUiPage() {
}
/**
- * Test block admin page exists and functions correctly.
+ * Tests block admin page exists and functions correctly.
*/
public function testBlockAdminUiPage() {
// Visit the blocks admin ui.
diff --git a/core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php b/core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
index fefe432161..d3d5b7bcea 100644
--- a/core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
+++ b/core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
@@ -33,7 +33,7 @@ protected function setUp(): void {
}
/**
- * Test non-default theme admin.
+ * Tests non-default theme admin.
*/
public function testNonDefaultBlockAdmin() {
$admin_user = $this->drupalCreateUser(['administer blocks', 'administer themes']);
diff --git a/core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php b/core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
index bac85959be..043091d20b 100644
--- a/core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
+++ b/core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
@@ -193,7 +193,7 @@ public function testDeleteBlockDisplay() {
}
/**
- * Test the block form for a Views block.
+ * Tests the block form for a Views block.
*/
public function testViewsBlockForm() {
$this->drupalLogin($this->drupalCreateUser(['administer blocks']));
diff --git a/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php b/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php
index 6e1a4d2545..62d2378097 100644
--- a/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php
+++ b/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php
@@ -16,7 +16,7 @@ class BlockInterfaceTest extends KernelTestBase {
protected static $modules = ['system', 'block', 'block_test', 'user'];
/**
- * Test configuration and subsequent form() and build() method calls.
+ * Tests configuration and subsequent form() and build() method calls.
*
* This test is attempting to test the existing block plugin api and all
* functionality that is expected to remain consistent. The arrays that are
diff --git a/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php b/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
index d12c3833a7..36d2097172 100644
--- a/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
+++ b/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
@@ -219,7 +219,7 @@ public function testFailedBlockCreation() {
}
/**
- * Test deleting a block.
+ * Tests deleting a block.
*/
public function testBlockDelete() {
// Create a block.
@@ -278,7 +278,7 @@ public function testBlockDelete() {
}
/**
- * Test that placed content blocks create a dependency in the block placement.
+ * Tests placed content blocks create a dependency in the block placement.
*/
public function testConfigDependencies() {
$block = $this->createBlockContent();
diff --git a/core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php b/core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php
index 2e38db42ef..4b7066a838 100644
--- a/core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php
+++ b/core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php
@@ -134,7 +134,7 @@ public function testQueriesNotAltered() {
}
/**
- * Test with no conditions set.
+ * Tests with no conditions set.
*
* @throws \Drupal\Core\Entity\EntityStorageException
*/
diff --git a/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php b/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php
index 4e0074526e..9112794d15 100644
--- a/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php
+++ b/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php
@@ -42,7 +42,7 @@ protected function setUp(): void {
}
/**
- * Test that the previous dependency is replaced when using set.
+ * Tests that the previous dependency is replaced when using set.
*
* @covers ::setAccessDependency
*
diff --git a/core/modules/book/tests/src/Functional/BookBreadcrumbTest.php b/core/modules/book/tests/src/Functional/BookBreadcrumbTest.php
index 59c15d441a..df9fd2617e 100644
--- a/core/modules/book/tests/src/Functional/BookBreadcrumbTest.php
+++ b/core/modules/book/tests/src/Functional/BookBreadcrumbTest.php
@@ -139,7 +139,7 @@ protected function createBookNode($book_nid, $parent = NULL) {
}
/**
- * Test that the breadcrumb is updated when book content changes.
+ * Tests that the breadcrumb is updated when book content changes.
*/
public function testBreadcrumbTitleUpdates() {
// Create a new book.
@@ -174,7 +174,7 @@ public function testBreadcrumbTitleUpdates() {
}
/**
- * Test that the breadcrumb is updated when book access changes.
+ * Tests that the breadcrumb is updated when book access changes.
*/
public function testBreadcrumbAccessUpdates() {
// Create a new book.
diff --git a/core/modules/book/tests/src/Kernel/BookInstallTest.php b/core/modules/book/tests/src/Kernel/BookInstallTest.php
index fbe755d3eb..3bb64e482c 100644
--- a/core/modules/book/tests/src/Kernel/BookInstallTest.php
+++ b/core/modules/book/tests/src/Kernel/BookInstallTest.php
@@ -21,7 +21,7 @@ class BookInstallTest extends KernelTestBase {
];
/**
- * Test Book install with pre-existing content type.
+ * Tests Book install with pre-existing content type.
*
* Tests that Book module can be installed if content type with machine name
* 'book' already exists.
diff --git a/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php b/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
index 495c877a97..391cb70fed 100644
--- a/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
+++ b/core/modules/breakpoint/tests/src/Kernel/BreakpointDiscoveryTest.php
@@ -28,7 +28,7 @@ protected function setUp(): void {
}
/**
- * Test the breakpoint group created for a theme.
+ * Tests the breakpoint group created for a theme.
*/
public function testThemeBreakpoints() {
// Verify the breakpoint group for breakpoint_theme_test was created.
@@ -93,7 +93,7 @@ public function testThemeBreakpoints() {
}
/**
- * Test the custom breakpoint group provided by a theme and a module.
+ * Tests the custom breakpoint group provided by a theme and a module.
*/
public function testCustomBreakpointGroups() {
// Verify the breakpoint group for breakpoint_theme_test.group2 was created.
@@ -145,7 +145,7 @@ public function testCustomBreakpointGroups() {
}
/**
- * Test the breakpoint group created for a module.
+ * Tests the breakpoint group created for a module.
*/
public function testModuleBreakpoints() {
$expected_breakpoints = [
@@ -181,7 +181,7 @@ public function testModuleBreakpoints() {
}
/**
- * Test the collection of breakpoint groups.
+ * Tests the collection of breakpoint groups.
*/
public function testBreakpointGroups() {
$expected = [
diff --git a/core/modules/ckeditor/tests/src/Kernel/Plugin/CKEditorPlugin/InternalTest.php b/core/modules/ckeditor/tests/src/Kernel/Plugin/CKEditorPlugin/InternalTest.php
index 2565807db5..1de3df5f7e 100644
--- a/core/modules/ckeditor/tests/src/Kernel/Plugin/CKEditorPlugin/InternalTest.php
+++ b/core/modules/ckeditor/tests/src/Kernel/Plugin/CKEditorPlugin/InternalTest.php
@@ -84,7 +84,7 @@ protected function setUp(): void {
}
/**
- * Test the format tags settings.
+ * Tests the format tags settings.
*
* @dataProvider formatTagsSettingsTestCases
*/
diff --git a/core/modules/color/tests/src/Functional/ColorTest.php b/core/modules/color/tests/src/Functional/ColorTest.php
index 3dd53f025b..e019d47428 100644
--- a/core/modules/color/tests/src/Functional/ColorTest.php
+++ b/core/modules/color/tests/src/Functional/ColorTest.php
@@ -179,7 +179,7 @@ public function testValidColor() {
}
/**
- * Test whether the custom logo is used in the color preview.
+ * Tests whether the custom logo is used in the color preview.
*/
public function testLogoSettingOverride() {
$this->drupalLogin($this->bigUser);
@@ -195,7 +195,7 @@ public function testLogoSettingOverride() {
}
/**
- * Test whether the scheme can be set, viewed anonymously and reset.
+ * Tests whether the scheme can be set, viewed anonymously and reset.
*/
public function testOverrideAndResetScheme() {
$settings_path = 'admin/appearance/settings/bartik';
diff --git a/core/modules/comment/tests/src/Functional/CommentAdminTest.php b/core/modules/comment/tests/src/Functional/CommentAdminTest.php
index ee14db28ff..7081479ece 100644
--- a/core/modules/comment/tests/src/Functional/CommentAdminTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentAdminTest.php
@@ -27,7 +27,7 @@ protected function setUp(): void {
}
/**
- * Test comment approval functionality through admin/content/comment.
+ * Tests comment approval functionality through admin/content/comment.
*/
public function testApprovalAdminInterface() {
// Set anonymous comments to require approval.
diff --git a/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php b/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
index 5277a317c0..2afd6e0c09 100644
--- a/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
@@ -96,7 +96,7 @@ protected function createEntity() {
}
/**
- * Test that comments correctly invalidate the cache tag of their host entity.
+ * Tests comments correctly invalidate the cache tag of their host entity.
*/
public function testCommentEntity() {
$this->verifyPageCache($this->entityTestCamelid->toUrl(), 'MISS');
diff --git a/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php b/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
index ff86da8846..d445eb4d16 100644
--- a/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
@@ -225,7 +225,7 @@ public function testCommentInterface() {
}
/**
- * Test that the subject is automatically filled if disabled or left blank.
+ * Tests that the subject is automatically filled if disabled or left blank.
*
* When the subject field is blank or disabled, the first 29 characters of the
* comment body are used for the subject. If this would break within a word,
@@ -248,7 +248,7 @@ public function testAutoFilledSubject() {
}
/**
- * Test that automatic subject is correctly created from HTML comment text.
+ * Tests that automatic subject is correctly created from HTML comment text.
*
* This is the same test as in CommentInterfaceTest::testAutoFilledSubject()
* with the additional check that HTML is stripped appropriately prior to
diff --git a/core/modules/comment/tests/src/Functional/CommentLanguageTest.php b/core/modules/comment/tests/src/Functional/CommentLanguageTest.php
index 2d090826bc..9e1f05675b 100644
--- a/core/modules/comment/tests/src/Functional/CommentLanguageTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentLanguageTest.php
@@ -86,7 +86,7 @@ protected function setUp(): void {
}
/**
- * Test that comment language is properly set.
+ * Tests that comment language is properly set.
*/
public function testCommentLanguage() {
diff --git a/core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php b/core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php
index 3ad58a7093..d6baa30cf4 100644
--- a/core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php
@@ -46,7 +46,7 @@ protected function setUp(): void {
}
/**
- * Test that threaded comments can be viewed.
+ * Tests that threaded comments can be viewed.
*/
public function testThreadedCommentView() {
// Set comments to have subject required and preview disabled.
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php b/core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
index 84d0abafb2..cc563df5f2 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
@@ -37,7 +37,7 @@ protected function setUp(): void {
}
/**
- * Test comment approval functionality through admin/content/comment.
+ * Tests comment approval functionality through admin/content/comment.
*/
public function testApprovalAdminInterface() {
// Set anonymous comments to require approval.
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentOperationsTest.php b/core/modules/comment/tests/src/Functional/Views/CommentOperationsTest.php
index ecd15d2a97..b146ecff1b 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentOperationsTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentOperationsTest.php
@@ -22,7 +22,7 @@ class CommentOperationsTest extends CommentTestBase {
protected $defaultTheme = 'classy';
/**
- * Test the operations field plugin.
+ * Tests the operations field plugin.
*/
public function testCommentOperations() {
$admin_account = $this->drupalCreateUser(['administer comments']);
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentRestExportTest.php b/core/modules/comment/tests/src/Functional/Views/CommentRestExportTest.php
index d8c68ca47f..7ef5f0193e 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentRestExportTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentRestExportTest.php
@@ -58,7 +58,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test comment row.
+ * Tests comment row.
*/
public function testCommentRestExport() {
$this->drupalGet(sprintf('node/%d/comments', $this->nodeUserCommented->id()), ['query' => ['_format' => 'hal_json']]);
diff --git a/core/modules/comment/tests/src/Functional/Views/CommentRowTest.php b/core/modules/comment/tests/src/Functional/Views/CommentRowTest.php
index 8cf2121a5e..c297f5da13 100644
--- a/core/modules/comment/tests/src/Functional/Views/CommentRowTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/CommentRowTest.php
@@ -22,7 +22,7 @@ class CommentRowTest extends CommentTestBase {
public static $testViews = ['test_comment_row'];
/**
- * Test comment row.
+ * Tests comment row.
*/
public function testCommentRow() {
$this->drupalGet('test-comment-row');
diff --git a/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php b/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php
index 6b98377cf8..0b49a0430d 100644
--- a/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php
@@ -29,7 +29,7 @@ class NodeCommentsTest extends CommentTestBase {
public static $testViews = ['test_new_comments'];
/**
- * Test the new comments field plugin.
+ * Tests the new comments field plugin.
*/
public function testNewComments() {
$this->drupalGet('test-new-comments');
diff --git a/core/modules/comment/tests/src/Functional/Views/RowRssTest.php b/core/modules/comment/tests/src/Functional/Views/RowRssTest.php
index f8a24afa4e..42009004d4 100644
--- a/core/modules/comment/tests/src/Functional/Views/RowRssTest.php
+++ b/core/modules/comment/tests/src/Functional/Views/RowRssTest.php
@@ -23,7 +23,7 @@ class RowRssTest extends CommentTestBase {
public static $testViews = ['test_comment_rss'];
/**
- * Test comment rss output.
+ * Tests comment rss output.
*/
public function testRssRow() {
$this->drupalGet('test-comment-rss');
diff --git a/core/modules/comment/tests/src/Kernel/CommentBundlesTest.php b/core/modules/comment/tests/src/Kernel/CommentBundlesTest.php
index d6393f4e8a..0be78b9a0d 100644
--- a/core/modules/comment/tests/src/Kernel/CommentBundlesTest.php
+++ b/core/modules/comment/tests/src/Kernel/CommentBundlesTest.php
@@ -56,7 +56,7 @@ protected function setUp(): void {
}
/**
- * Test that the entity_id field is set correctly for each comment bundle.
+ * Tests that the entity_id field is set correctly for each comment bundle.
*/
public function testEntityIdField() {
$field_definitions = [];
diff --git a/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php b/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php
index 15bace911a..da2a7fab36 100644
--- a/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php
+++ b/core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php
@@ -91,7 +91,7 @@ protected function setUp(): void {
}
/**
- * Test permissions on comment fields.
+ * Tests permissions on comment fields.
*/
public function testAccessToAdministrativeFields() {
// Create a comment type.
diff --git a/core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php b/core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php
index b93c550383..5697cd80d2 100644
--- a/core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php
+++ b/core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php
@@ -148,7 +148,7 @@ public function testViewMode() {
}
/**
- * Test the default owner of comment entities.
+ * Tests the default owner of comment entities.
*/
public function testCommentDefaultOwner() {
$comment = Comment::create([
diff --git a/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldInstanceTest.php b/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldInstanceTest.php
index 57c34b2293..fab1c51204 100644
--- a/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldInstanceTest.php
+++ b/core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldInstanceTest.php
@@ -69,7 +69,7 @@ protected function assertEntity($bundle, $field_name, $default_value, $default_m
}
/**
- * Test the migrated field instance values.
+ * Tests the migrated field instance values.
*/
public function testMigration() {
$this->assertEntity('article', 'comment_node_article', 2, 1, 50, 0, FALSE, 1);
diff --git a/core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php b/core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php
index af2a451bc5..deee1956a2 100644
--- a/core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php
+++ b/core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php
@@ -49,7 +49,7 @@ class CommentFieldNameTest extends KernelTestBase {
public static $testViews = ['test_comment_field_name'];
/**
- * Test comment field name.
+ * Tests comment field name.
*/
public function testCommentFieldName() {
$renderer = $this->container->get('renderer');
diff --git a/core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php b/core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
index be5c14606f..43cadf07c6 100644
--- a/core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
+++ b/core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
@@ -42,7 +42,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test the comment approve link.
+ * Tests the comment approve link.
*/
public function testLinkApprove() {
$host = EntityTest::create(['name' => $this->randomString()]);
@@ -108,7 +108,7 @@ public function testLinkApprove() {
}
/**
- * Test the comment reply link.
+ * Tests the comment reply link.
*/
public function testLinkReply() {
$this->enableModules(['field']);
diff --git a/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php b/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
index d10a3b91fe..4b6036359e 100644
--- a/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
+++ b/core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
@@ -102,7 +102,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test the username formatter.
+ * Tests the username formatter.
*/
public function testUsername() {
$view_id = $this->randomMachineName();
diff --git a/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php b/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
index 64cdc6079e..e829670b30 100644
--- a/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
+++ b/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php
@@ -90,7 +90,7 @@ protected function setUp(): void {
}
/**
- * Test the buildCommentedEntityLinks method.
+ * Tests the buildCommentedEntityLinks method.
*
* @param \Drupal\node\NodeInterface|\PHPUnit\Framework\MockObject\MockObject $node
* Mock node.
diff --git a/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php b/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
index 0109603c66..c9c8cb3351 100644
--- a/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
+++ b/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
@@ -15,7 +15,7 @@
class CommentLockTest extends UnitTestCase {
/**
- * Test the lock behavior.
+ * Tests the lock behavior.
*/
public function testLocks() {
$container = new ContainerBuilder();
diff --git a/core/modules/config/tests/src/Functional/ConfigDraggableListBuilderTest.php b/core/modules/config/tests/src/Functional/ConfigDraggableListBuilderTest.php
index 00f3ce083a..8c9db21794 100644
--- a/core/modules/config/tests/src/Functional/ConfigDraggableListBuilderTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigDraggableListBuilderTest.php
@@ -23,7 +23,7 @@ class ConfigDraggableListBuilderTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test draggable lists.
+ * Tests draggable lists.
*/
public function testDraggableList() {
$this->drupalLogin($this->drupalCreateUser(['administer permissions']));
diff --git a/core/modules/config/tests/src/Functional/ConfigEntityListTest.php b/core/modules/config/tests/src/Functional/ConfigEntityListTest.php
index dd11022efe..66e64de0bf 100644
--- a/core/modules/config/tests/src/Functional/ConfigEntityListTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigEntityListTest.php
@@ -251,7 +251,7 @@ public function testListUI() {
}
/**
- * Test paging.
+ * Tests paging.
*/
public function testPager() {
$this->drupalLogin($this->drupalCreateUser(['administer site configuration']));
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
index 8fd7a9587b..1ffe5ef499 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
@@ -635,7 +635,7 @@ public function testViewsTranslationUI() {
}
/**
- * Test the number of source elements for plural strings in config translation forms.
+ * Tests the number of source elements for plural strings in config translation forms.
*/
public function testPluralConfigStringsSourceElements() {
$this->drupalLogin($this->adminUser);
@@ -678,7 +678,7 @@ public function testPluralConfigStringsSourceElements() {
}
/**
- * Test translation of plural strings with multiple plural forms in config.
+ * Tests translation of plural strings with multiple plural forms in config.
*/
public function testPluralConfigStrings() {
$this->drupalLogin($this->adminUser);
@@ -805,7 +805,7 @@ public function testBooleanFieldConfigTranslation() {
}
/**
- * Test translation storage in locale storage.
+ * Tests translation storage in locale storage.
*/
public function testLocaleDBStorage() {
// Enable import of translations. By default this is disabled for automated
@@ -942,7 +942,7 @@ public function testSequenceTranslation() {
}
/**
- * Test text_format translation.
+ * Tests text_format translation.
*/
public function testTextFormatTranslation() {
$this->drupalLogin($this->adminUser);
diff --git a/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemMaintenanceTranslationTest.php b/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemMaintenanceTranslationTest.php
index 576ad75264..45d92b7cf7 100644
--- a/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemMaintenanceTranslationTest.php
+++ b/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemMaintenanceTranslationTest.php
@@ -26,7 +26,7 @@ protected function setUp(): void {
}
/**
- * Tests migration of system (maintenance) variables to system.maintenance.yml.
+ * Tests migration of system variables to system.maintenance.yml.
*/
public function testSystemMaintenance() {
$config = \Drupal::service('language_manager')->getLanguageConfigOverride('fr', 'system.maintenance');
diff --git a/core/modules/contact/tests/src/Kernel/MessageEntityTest.php b/core/modules/contact/tests/src/Kernel/MessageEntityTest.php
index 191dd828a1..accf39607a 100644
--- a/core/modules/contact/tests/src/Kernel/MessageEntityTest.php
+++ b/core/modules/contact/tests/src/Kernel/MessageEntityTest.php
@@ -31,7 +31,7 @@ protected function setUp(): void {
}
/**
- * Test some of the methods.
+ * Tests some of the methods.
*/
public function testMessageMethods() {
$message_storage = $this->container->get('entity_type.manager')->getStorage('contact_message');
diff --git a/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php b/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php
index 1d6f6be159..a7a3e637a5 100644
--- a/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php
@@ -39,7 +39,7 @@ protected function setUp(): void {
}
/**
- * Test creating a new workflow using the content moderation plugin.
+ * Tests creating a new workflow using the content moderation plugin.
*/
public function testNewWorkflow() {
$types[] = $this->createContentType();
diff --git a/core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php b/core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
index 95f66afced..92b360d222 100644
--- a/core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
@@ -25,7 +25,7 @@ protected function setUp(): void {
}
/**
- * Test a workflow with a default moderation state set.
+ * Tests a workflow with a default moderation state set.
*/
public function testPublishedDefaultState() {
// Set the default moderation state to be "published".
@@ -44,7 +44,7 @@ public function testPublishedDefaultState() {
}
/**
- * Test access to deleting the default state.
+ * Tests access to deleting the default state.
*/
public function testDeleteDefaultStateAccess() {
$this->drupalGet('admin/config/workflow/workflows/manage/editorial/state/archived/delete');
diff --git a/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php b/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php
index 84db0e9535..cf8ba8ff53 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php
@@ -142,7 +142,7 @@ public function testModeratedContentPage() {
}
/**
- * Test the moderated content page with multilingual content.
+ * Tests the moderated content page with multilingual content.
*/
public function testModeratedContentPageMultilingual() {
ConfigurableLanguage::createFromLangcode('fr')->save();
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php
index 3ad35c86eb..3f157465ef 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php
@@ -57,7 +57,7 @@ public function setUp(): void {
}
/**
- * Test the node status actions report moderation status to users correctly.
+ * Tests the node status actions report moderation status to users correctly.
*
* @dataProvider nodeStatusActionsTestCases
*/
@@ -98,7 +98,7 @@ public function testNodeStatusActions($action, $bundle, $warning_appears, $start
}
/**
- * Test cases for ::testNodeStatusActions.
+ * Tests cases for ::testNodeStatusActions.
*
* @return array
* An array of test cases.
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
index 4346ea6d88..3738ab475a 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
@@ -179,7 +179,7 @@ public function testModerationForm() {
}
/**
- * Test moderation non-bundle entity type.
+ * Tests moderation non-bundle entity type.
*/
public function testNonBundleModerationForm() {
$this->drupalLogin($this->rootUser);
@@ -479,7 +479,7 @@ public function testContentTranslationNodeForm() {
}
/**
- * Test the moderation_state field when an alternative widget is set.
+ * Tests the moderation_state field when an alternative widget is set.
*/
public function testAlternativeModerationStateWidget() {
$entity_form_display = EntityFormDisplay::load('node.moderated_content.default');
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationRevisionRevertTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationRevisionRevertTest.php
index 217df4cdb5..b47a43dc93 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationRevisionRevertTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationRevisionRevertTest.php
@@ -60,7 +60,7 @@ public function setUp(): void {
}
/**
- * Test that reverting a revision works.
+ * Tests that reverting a revision works.
*/
public function testEditingAfterRevertRevision() {
// Create a draft.
diff --git a/core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php b/core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php
index 39b7a2e2a2..b083efc68e 100644
--- a/core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php
+++ b/core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php
@@ -49,7 +49,7 @@ protected function setUp(): void {
}
/**
- * Test the view operation access handler with the view permission.
+ * Tests the view operation access handler with the view permission.
*/
public function testViewShowsCorrectStates() {
$permissions = [
diff --git a/core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php b/core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php
index e07a0187bb..00131d5248 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php
@@ -33,7 +33,7 @@ protected function setUp(): void {
}
/**
- * Test permissions generated by content moderation.
+ * Tests permissions generated by content moderation.
*
* @dataProvider permissionsTestCases
*/
@@ -43,7 +43,7 @@ public function testPermissions($workflow, $permissions) {
}
/**
- * Test cases for ::testPermissions
+ * Tests cases for ::testPermissions
*
* @return array
* Content moderation permissions based test cases.
diff --git a/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php b/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php
index a5255d0429..343bfe55b4 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php
@@ -53,7 +53,7 @@ protected function setUp(): void {
}
/**
- * Test the ContentModerationState unique keys.
+ * Tests the ContentModerationState unique keys.
*
* @covers ::getEntitySchema
*/
diff --git a/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php b/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
index e9317c52ef..eaf726813e 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
@@ -149,7 +149,7 @@ public function testBasicModeration($entity_type_id) {
}
/**
- * Test cases for basic moderation test.
+ * Tests cases for basic moderation test.
*/
public function basicModerationTestCases() {
return [
@@ -457,7 +457,7 @@ public function testModerationWithSpecialLanguages($original_language, $updated_
}
/**
- * Test cases for ::testModerationWithSpecialLanguages().
+ * Tests cases for ::testModerationWithSpecialLanguages().
*/
public function moderationWithSpecialLanguagesTestCases() {
return [
@@ -477,7 +477,7 @@ public function moderationWithSpecialLanguagesTestCases() {
}
/**
- * Test changing the language of content without adding a translation.
+ * Tests changing the language of content without adding a translation.
*/
public function testChangingContentLangcode() {
$this->createContentType([
@@ -612,7 +612,7 @@ public function testWorkflowDependencies() {
}
/**
- * Test the content moderation workflow dependencies for non-config bundles.
+ * Tests the content moderation workflow dependencies for non-config bundles.
*/
public function testWorkflowNonConfigBundleDependencies() {
// Create a bundle not based on any particular configuration.
@@ -647,7 +647,7 @@ public function testWorkflowNonConfigBundleDependencies() {
}
/**
- * Test the revision default state of the moderation state entity revisions.
+ * Tests the revision default state of the moderation state entity revisions.
*
* @param string $entity_type_id
* The ID of entity type to be tested.
diff --git a/core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php b/core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php
index 5825ed2863..67694fb6e3 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php
@@ -40,7 +40,7 @@ protected function setUp(): void {
}
/**
- * Test no new revision is forced during a sync.
+ * Tests no new revision is forced during a sync.
*/
public function testNoRevisionForcedDuringSync() {
$entity = EntityTestMulRevPub::create([
@@ -58,7 +58,7 @@ public function testNoRevisionForcedDuringSync() {
}
/**
- * Test changing the moderation state during a sync.
+ * Tests changing the moderation state during a sync.
*/
public function testSingleRevisionStateChangedDuringSync() {
$entity = EntityTestMulRevPub::create([
@@ -84,7 +84,7 @@ public function testSingleRevisionStateChangedDuringSync() {
}
/**
- * Test state changes with multiple revisions during a sync.
+ * Tests state changes with multiple revisions during a sync.
*/
public function testMultipleRevisionStateChangedDuringSync() {
$entity = EntityTestMulRevPub::create([
@@ -112,7 +112,7 @@ public function testMultipleRevisionStateChangedDuringSync() {
}
/**
- * Test modifying a previous revision during a sync.
+ * Tests modifying a previous revision during a sync.
*/
public function testUpdatingPreviousRevisionDuringSync() {
$storage = $this->container->get('entity_type.manager')->getStorage('entity_test_mulrevpub');
@@ -139,7 +139,7 @@ public function testUpdatingPreviousRevisionDuringSync() {
}
/**
- * Test a moderation state changed on a previous revision during a sync.
+ * Tests a moderation state changed on a previous revision during a sync.
*/
public function testStateChangedPreviousRevisionDuringSync() {
$storage = $this->container->get('entity_type.manager')->getStorage('entity_test_mulrevpub');
diff --git a/core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php b/core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
index 3351ff4215..f227adc992 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php
@@ -78,7 +78,7 @@ protected function setUp(): void {
}
/**
- * Test deleting a state via config import.
+ * Tests deleting a state via config import.
*/
public function testDeletingStateViaConfiguration() {
$config_sync = \Drupal::service('config.storage.sync');
diff --git a/core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php b/core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php
index 0c4c504ecf..daca8bae6e 100644
--- a/core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php
@@ -55,7 +55,7 @@ protected function setUp(): void {
}
/**
- * Test valid transitions.
+ * Tests valid transitions.
*
* @covers ::validate
*/
@@ -85,7 +85,7 @@ public function testValidTransition() {
}
/**
- * Test invalid transitions.
+ * Tests invalid transitions.
*
* @covers ::validate
*/
@@ -115,7 +115,7 @@ public function testInvalidTransition() {
}
/**
- * Test validation with an invalid state.
+ * Tests validation with an invalid state.
*/
public function testInvalidState() {
$node_type = NodeType::create([
@@ -138,7 +138,7 @@ public function testInvalidState() {
}
/**
- * Test validation with content that has no initial state or an invalid state.
+ * Tests validation with no initial state or an invalid state.
*/
public function testInvalidStateWithoutExisting() {
$this->setCurrentUser($this->adminUser);
@@ -187,7 +187,7 @@ public function testInvalidStateWithoutExisting() {
}
/**
- * Test state transition validation with multiple languages.
+ * Tests state transition validation with multiple languages.
*/
public function testInvalidStateMultilingual() {
$this->setCurrentUser($this->adminUser);
@@ -355,7 +355,7 @@ public function testTransitionAccessValidation($permissions, $target_state, $mes
}
/**
- * Test cases for ::testTransitionAccessValidation.
+ * Tests cases for ::testTransitionAccessValidation.
*/
public function transitionAccessValidationTestCases() {
return [
diff --git a/core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php b/core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php
index c977f1bf21..6090269ac3 100644
--- a/core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php
@@ -78,7 +78,7 @@ public function testEntityBaseFieldInfo() {
}
/**
- * Test the correct entity types have moderation added.
+ * Tests the correct entity types have moderation added.
*
* @covers ::entityTypeAlter
*
@@ -129,7 +129,7 @@ public function testBaseFieldOnlyAddedToModeratedEntityTypes() {
}
/**
- * Test entity base field provider.
+ * Tests entity base field provider.
*/
public function testEntityBaseFieldProvider() {
$this->enableModeration('entity_test_mulrev', 'entity_test_mulrev');
diff --git a/core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php b/core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php
index 786e2b8924..455908232b 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php
@@ -95,7 +95,7 @@ public function testIsDefaultRevisionPublished($initial_state, $final_state, $in
}
/**
- * Test cases for ::testIsDefaultRevisionPublished.
+ * Tests cases for ::testIsDefaultRevisionPublished.
*/
public function isDefaultRevisionPublishedTestCases() {
return [
diff --git a/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php b/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php
index 941f34d7a5..ae9e86f315 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php
@@ -71,7 +71,7 @@ protected function setUp(): void {
}
/**
- * Test the field item list when accessing an index.
+ * Tests the field item list when accessing an index.
*/
public function testArrayIndex() {
$this->assertFalse($this->testNode->isPublished());
@@ -79,7 +79,7 @@ public function testArrayIndex() {
}
/**
- * Test the field item list when iterating.
+ * Tests the field item list when iterating.
*/
public function testArrayIteration() {
$states = [];
@@ -122,7 +122,7 @@ public function testEmptyStateAndAppend() {
}
/**
- * Test an empty value assigned to the field item.
+ * Tests an empty value assigned to the field item.
*/
public function testEmptyFieldItem() {
$this->testNode->moderation_state->value = '';
@@ -131,7 +131,7 @@ public function testEmptyFieldItem() {
}
/**
- * Test an empty value assigned to the field item list.
+ * Tests an empty value assigned to the field item list.
*/
public function testEmptyFieldItemList() {
$this->testNode->moderation_state = '';
@@ -140,7 +140,7 @@ public function testEmptyFieldItemList() {
}
/**
- * Test the field item when it is unset.
+ * Tests the field item when it is unset.
*/
public function testUnsetItemList() {
unset($this->testNode->moderation_state);
@@ -149,7 +149,7 @@ public function testUnsetItemList() {
}
/**
- * Test the field item when it is assigned NULL.
+ * Tests the field item when it is assigned NULL.
*/
public function testAssignNullItemList() {
$this->testNode->moderation_state = NULL;
@@ -173,7 +173,7 @@ protected function assertEmptiedModerationFieldItemList() {
}
/**
- * Test the list class with a non moderated entity.
+ * Tests the list class with a non moderated entity.
*/
public function testNonModeratedEntity() {
$unmoderated_node = Node::create([
@@ -245,7 +245,7 @@ public function moderationStateChangesTestCases() {
}
/**
- * Test updating the state for an entity without a workflow.
+ * Tests updating the state for an entity without a workflow.
*/
public function testEntityWithNoWorkflow() {
$node_type = NodeType::create([
@@ -270,7 +270,7 @@ public function testEntityWithNoWorkflow() {
}
/**
- * Test the moderation_state field after an entity has been serialized.
+ * Tests the moderation_state field after an entity has been serialized.
*
* @dataProvider entityUnserializeTestCases
*/
@@ -289,7 +289,7 @@ public function testEntityUnserialize($state, $default, $published) {
}
/**
- * Test cases for ::testEntityUnserialize.
+ * Tests cases for ::testEntityUnserialize.
*/
public function entityUnserializeTestCases() {
return [
@@ -307,7 +307,7 @@ public function entityUnserializeTestCases() {
}
/**
- * Test saving a moderated node with an existing ID.
+ * Tests saving a moderated node with an existing ID.
*
* @dataProvider moderatedEntityWithExistingIdTestCases
*/
@@ -323,7 +323,7 @@ public function testModeratedEntityWithExistingId($state) {
}
/**
- * Test cases for ::testModeratedEntityWithExistingId.
+ * Tests cases for ::testModeratedEntityWithExistingId.
*/
public function moderatedEntityWithExistingIdTestCases() {
return [
@@ -337,7 +337,7 @@ public function moderatedEntityWithExistingIdTestCases() {
}
/**
- * Test customising the default moderation state.
+ * Tests customising the default moderation state.
*/
public function testWorkflowCustomisedInitialState() {
$workflow = Workflow::load('editorial');
@@ -369,7 +369,7 @@ public function testWorkflowCustomisedInitialState() {
}
/**
- * Test the field item list when used with existing unmoderated content.
+ * Tests the field item list when used with existing unmoderated content.
*/
public function testWithExistingUnmoderatedContent() {
$node = Node::create([
diff --git a/core/modules/content_moderation/tests/src/Kernel/ModerationStateWidgetTest.php b/core/modules/content_moderation/tests/src/Kernel/ModerationStateWidgetTest.php
index a22119f1ac..b71341ed6b 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ModerationStateWidgetTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ModerationStateWidgetTest.php
@@ -54,7 +54,7 @@ protected function setUp(): void {
}
/**
- * Test the widget does not impact a non-moderated entity.
+ * Tests the widget does not impact a non-moderated entity.
*/
public function testWidgetNonModeratedEntity() {
// Create an unmoderated entity and build a form display which will include
diff --git a/core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php b/core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php
index c4c38d0d24..2ba1984b0d 100644
--- a/core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php
@@ -44,7 +44,7 @@ protected function setUp(): void {
}
/**
- * Test the embed field.
+ * Tests the embed field.
*
* @dataProvider formatterTestCases
*/
@@ -62,7 +62,7 @@ public function testStateFieldFormatter($field_value, $formatter_settings, $expe
}
/**
- * Test cases for ::
+ * Tests cases for ::
*/
public function formatterTestCases() {
return [
diff --git a/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php b/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php
index a8ade5fa39..3f55e34edd 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php
@@ -163,7 +163,7 @@ public function testStateFilterViewsRelationship() {
}
/**
- * Test the moderation filter with a non-translatable entity type.
+ * Tests the moderation filter with a non-translatable entity type.
*/
public function testNonTranslatableEntityType() {
$workflow = Workflow::load('editorial');
diff --git a/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php b/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php
index c70480f1ba..6ddbec3eed 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php
@@ -60,7 +60,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test sorting with a standard data base table.
+ * Tests sorting with a standard data base table.
*/
public function testSortBaseTable() {
$this->enableModules(['content_moderation_test_views']);
@@ -99,7 +99,7 @@ public function testSortBaseTable() {
}
/**
- * Test sorting with the revision base table.
+ * Tests sorting with the revision base table.
*/
public function testSortRevisionBaseTable() {
$this->enableModules(['content_moderation_test_views']);
diff --git a/core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php b/core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php
index 51b2e745c4..1054813064 100644
--- a/core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php
@@ -142,7 +142,7 @@ public function testContentModerationIntegrationWithWorkspaces() {
}
/**
- * Test cases for basic moderation test.
+ * Tests cases for basic moderation test.
*/
public function basicModerationTestCases() {
return [
diff --git a/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php b/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php
index 274cad9f2e..5b84b44fde 100644
--- a/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php
+++ b/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php
@@ -39,7 +39,7 @@ protected function setUp(): void {
}
/**
- * Test the access check of the LatestRevisionCheck service.
+ * Tests the access check of the LatestRevisionCheck service.
*
* @param string $entity_class
* The class of the entity to mock.
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php
index 3386623677..07e15ee28d 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php
@@ -83,7 +83,7 @@ protected function setUp(): void {
}
/**
- * Test that the source language is properly set when changing.
+ * Tests that the source language is properly set when changing.
*/
public function testLanguageChange() {
// Create a node in English.
@@ -118,7 +118,7 @@ public function testLanguageChange() {
}
/**
- * Test that title does not change on ajax call with new language value.
+ * Tests that title does not change on ajax call with new language value.
*/
public function testTitleDoesNotChangesOnChangingLanguageWidgetAndTriggeringAjaxCall() {
// Create a node in English.
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationOperationsTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationOperationsTest.php
index 37bc9b8fa6..a56a9b7a87 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationOperationsTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationOperationsTest.php
@@ -68,7 +68,7 @@ protected function setUp(): void {
}
/**
- * Test that the operation "Translate" is displayed in the content listing.
+ * Tests that the operation "Translate" is displayed in the content listing.
*/
public function testOperationTranslateLink() {
$node = $this->drupalCreateNode(['type' => 'article', 'langcode' => 'es']);
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php
index 727d597014..672c391b5f 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php
@@ -73,7 +73,7 @@ public function testFieldTranslatableArticle() {
}
/**
- * Test that revision_log is not translatable.
+ * Tests that revision_log is not translatable.
*/
public function testRevisionLogNotTranslatable() {
$path = 'admin/config/regional/content-language';
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
index 2d360d2249..107933454c 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
@@ -590,7 +590,7 @@ protected function doTestTranslationChanged() {
}
/**
- * Test the changed time after API and FORM save without changes.
+ * Tests the changed time after API and FORM save without changes.
*/
public function doTestChangedTimeAfterSaveWithoutChanges() {
$storage = $this->container->get('entity_type.manager')
diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php
index 35f782fd59..a11496d1fd 100644
--- a/core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php
+++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php
@@ -89,7 +89,7 @@ protected function setupEntity() {
}
/**
- * Test simple and editorial translation workflows.
+ * Tests simple and editorial translation workflows.
*/
public function testWorkflows() {
// Test workflows for the editor.
diff --git a/core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php b/core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php
index b3c6323a9d..d273d056f3 100644
--- a/core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php
+++ b/core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php
@@ -374,7 +374,7 @@ public function testFieldSynchronizationAndValidation() {
}
/**
- * Test changing the default language of an entity.
+ * Tests changing the default language of an entity.
*/
public function testChangeDefaultLanguageNonTranslatableFieldsHidden() {
$this->setUntranslatableFieldWidgetsDisplay(FALSE);
diff --git a/core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php b/core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php
index 09fca8c325..8f73175ada 100644
--- a/core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php
+++ b/core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php
@@ -58,7 +58,7 @@ protected function setUp(): void {
}
/**
- * Test that content translation fields are created upon module installation.
+ * Tests that content translation fields are created upon module installation.
*/
public function testFieldUpdates() {
// The module ships a translatable bundle of the 'entity_test_with_bundle'
diff --git a/core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php b/core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php
index c53325ed50..f33919957b 100644
--- a/core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php
+++ b/core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinksTest.php
@@ -64,7 +64,7 @@ public function testContextualLinksVisibility() {
}
/**
- * Test clicking contextual links.
+ * Tests clicking contextual links.
*/
public function testContextualLinksClick() {
$this->container->get('module_installer')->install(['contextual_test']);
@@ -98,7 +98,7 @@ public function testContextualLinksClick() {
}
/**
- * Test the contextual links destination.
+ * Tests the contextual links destination.
*/
public function testContextualLinksDestination() {
$this->grantPermissions(Role::load(Role::AUTHENTICATED_ID), [
diff --git a/core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php b/core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
index 611472bb5b..a455b0e564 100644
--- a/core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
+++ b/core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
@@ -660,7 +660,7 @@ protected function datelistDataProvider($field_label) {
}
/**
- * Test default value functionality.
+ * Tests default value functionality.
*/
public function testDefaultValue() {
// Create a test content type.
@@ -783,7 +783,7 @@ public function testDefaultValue() {
}
/**
- * Test that invalid values are caught and marked as invalid.
+ * Tests that invalid values are caught and marked as invalid.
*/
public function testInvalidField() {
// Change the field to a datetime field.
diff --git a/core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php b/core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php
index 3d0c2564ff..308eb89710 100644
--- a/core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php
+++ b/core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php
@@ -46,7 +46,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test year argument.
+ * Tests year argument.
*
* @see \Drupal\datetime\Plugin\views\argument\YearDate
*/
@@ -89,7 +89,7 @@ public function testDatetimeArgumentYear() {
}
/**
- * Test month argument.
+ * Tests month argument.
*
* @see \Drupal\datetime\Plugin\views\argument\MonthDate
*/
@@ -115,7 +115,7 @@ public function testDatetimeArgumentMonth() {
}
/**
- * Test day argument.
+ * Tests day argument.
*
* @see \Drupal\datetime\Plugin\views\argument\DayDate
*/
@@ -141,7 +141,7 @@ public function testDatetimeArgumentDay() {
}
/**
- * Test year, month, and day arguments combined.
+ * Tests year, month, and day arguments combined.
*/
public function testDatetimeArgumentAll() {
$view = Views::getView('test_argument_datetime');
@@ -163,7 +163,7 @@ public function testDatetimeArgumentAll() {
}
/**
- * Test week WW argument.
+ * Tests week WW argument.
*/
public function testDatetimeArgumentWeek() {
$view = Views::getView('test_argument_datetime');
@@ -187,7 +187,7 @@ public function testDatetimeArgumentWeek() {
}
/**
- * Test full_date CCYYMMDD argument.
+ * Tests full_date CCYYMMDD argument.
*/
public function testDatetimeArgumentFullDate() {
$view = Views::getView('test_argument_datetime');
@@ -209,7 +209,7 @@ public function testDatetimeArgumentFullDate() {
}
/**
- * Test year_month CCYYMM argument.
+ * Tests year_month CCYYMM argument.
*/
public function testDatetimeArgumentYearMonth() {
$view = Views::getView('test_argument_datetime');
diff --git a/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php b/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php
index f763c49a51..5809602bfb 100644
--- a/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php
+++ b/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php
@@ -20,7 +20,7 @@ class DateTimeSchemaTest extends DateTimeHandlerTestBase {
public static $testViews = ['test_argument_datetime', 'test_filter_datetime', 'test_sort_datetime'];
/**
- * Test argument plugin schema.
+ * Tests argument plugin schema.
*/
public function testDateTimeSchema() {
// Test argument schema.
diff --git a/core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php b/core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php
index 253e94d0ba..56e35010c4 100644
--- a/core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php
+++ b/core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php
@@ -83,7 +83,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test offsets with date-only fields.
+ * Tests offsets with date-only fields.
*/
public function testDateOffsets() {
$view = Views::getView('test_filter_datetime');
@@ -167,7 +167,7 @@ public function testDateOffsets() {
}
/**
- * Test date filter with date-only fields.
+ * Tests date filter with date-only fields.
*/
public function testDateIs() {
$view = Views::getView('test_filter_datetime');
diff --git a/core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php b/core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php
index 28ac4337f2..cdafe7d150 100644
--- a/core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php
+++ b/core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php
@@ -69,7 +69,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test filter operations.
+ * Tests filter operations.
*/
public function testDatetimeFilter() {
$this->_testOffset();
@@ -78,7 +78,7 @@ public function testDatetimeFilter() {
}
/**
- * Test offset operations.
+ * Tests offset operations.
*/
protected function _testOffset() {
$view = Views::getView('test_filter_datetime');
@@ -113,7 +113,7 @@ protected function _testOffset() {
}
/**
- * Test between operations.
+ * Tests between operations.
*/
protected function _testBetween() {
$view = Views::getView('test_filter_datetime');
@@ -176,7 +176,7 @@ protected function _testBetween() {
}
/**
- * Test exact date matching.
+ * Tests exact date matching.
*/
protected function _testExact() {
$view = Views::getView('test_filter_datetime');
diff --git a/core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php b/core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
index bc412837de..f3bd91333b 100644
--- a/core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
+++ b/core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
@@ -993,7 +993,7 @@ protected function datelistDataProvider() {
}
/**
- * Test default value functionality.
+ * Tests default value functionality.
*/
public function testDefaultValue() {
// Create a test content type.
@@ -1161,7 +1161,7 @@ public function testDefaultValue() {
}
/**
- * Test that invalid values are caught and marked as invalid.
+ * Tests that invalid values are caught and marked as invalid.
*/
public function testInvalidField() {
// Change the field to a datetime field.
diff --git a/core/modules/datetime_range/tests/src/Kernel/Views/FilterDateTest.php b/core/modules/datetime_range/tests/src/Kernel/Views/FilterDateTest.php
index a1a4a121b7..206139b98c 100644
--- a/core/modules/datetime_range/tests/src/Kernel/Views/FilterDateTest.php
+++ b/core/modules/datetime_range/tests/src/Kernel/Views/FilterDateTest.php
@@ -114,7 +114,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test offsets with date-only fields.
+ * Tests offsets with date-only fields.
*/
public function testDateOffsets() {
$view = Views::getView('test_filter_datetime');
diff --git a/core/modules/dblog/tests/src/Functional/DbLogTest.php b/core/modules/dblog/tests/src/Functional/DbLogTest.php
index 79e06a854e..2a5068b096 100644
--- a/core/modules/dblog/tests/src/Functional/DbLogTest.php
+++ b/core/modules/dblog/tests/src/Functional/DbLogTest.php
@@ -100,7 +100,7 @@ public function testDbLog() {
}
/**
- * Test individual log event page.
+ * Tests individual log event page.
*/
public function testLogEventPage() {
// Login the admin user.
@@ -136,7 +136,7 @@ public function testLogEventPage() {
}
/**
- * Test not-existing log event page.
+ * Tests not-existing log event page.
*/
public function testLogEventNotFoundPage() {
// Login the admin user.
@@ -149,7 +149,7 @@ public function testLogEventNotFoundPage() {
}
/**
- * Test individual log event page with missing log attributes.
+ * Tests individual log event page with missing log attributes.
*
* In some cases few log attributes are missing. For example:
* - Missing referer: When request is made to a specific url directly and
@@ -797,7 +797,7 @@ public function testOverviewLinks() {
}
/**
- * Test sorting for entries with the same timestamp.
+ * Tests sorting for entries with the same timestamp.
*/
public function testSameTimestampEntries() {
$this->drupalLogin($this->adminUser);
diff --git a/core/modules/dblog/tests/src/Kernel/Views/ViewsIntegrationTest.php b/core/modules/dblog/tests/src/Kernel/Views/ViewsIntegrationTest.php
index 715920f20d..e123be90c5 100644
--- a/core/modules/dblog/tests/src/Kernel/Views/ViewsIntegrationTest.php
+++ b/core/modules/dblog/tests/src/Kernel/Views/ViewsIntegrationTest.php
@@ -100,7 +100,7 @@ public function testRelationship() {
}
/**
- * Test views can be filtered by severity and log type.
+ * Tests views can be filtered by severity and log type.
*/
public function testFiltering() {
// Remove the watchdog entries added by the potential batch process.
diff --git a/core/modules/editor/tests/src/Functional/EditorDialogAccessTest.php b/core/modules/editor/tests/src/Functional/EditorDialogAccessTest.php
index c3c264e5a1..3fcdb18e7e 100644
--- a/core/modules/editor/tests/src/Functional/EditorDialogAccessTest.php
+++ b/core/modules/editor/tests/src/Functional/EditorDialogAccessTest.php
@@ -26,7 +26,7 @@ class EditorDialogAccessTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test access to the editor image dialog.
+ * Tests access to the editor image dialog.
*/
public function testEditorImageDialogAccess() {
$url = Url::fromRoute('editor.image_dialog', ['editor' => 'plain_text']);
diff --git a/core/modules/editor/tests/src/Functional/EditorLoadingTest.php b/core/modules/editor/tests/src/Functional/EditorLoadingTest.php
index 2d9f5b53cd..fd5f60c9f0 100644
--- a/core/modules/editor/tests/src/Functional/EditorLoadingTest.php
+++ b/core/modules/editor/tests/src/Functional/EditorLoadingTest.php
@@ -227,7 +227,7 @@ public function testLoading() {
}
/**
- * Test supported element types.
+ * Tests supported element types.
*/
public function testSupportedElementTypes() {
// Associate the unicorn text editor with the "Full HTML" text format.
diff --git a/core/modules/editor/tests/src/Functional/QuickEditIntegrationLoadingTest.php b/core/modules/editor/tests/src/Functional/QuickEditIntegrationLoadingTest.php
index 4f4365e03b..7f149ee61e 100644
--- a/core/modules/editor/tests/src/Functional/QuickEditIntegrationLoadingTest.php
+++ b/core/modules/editor/tests/src/Functional/QuickEditIntegrationLoadingTest.php
@@ -68,7 +68,7 @@ protected function setUp(): void {
}
/**
- * Test loading of untransformed text when a user doesn't have access to it.
+ * Tests loading of untransformed text when a user doesn't have access to it.
*/
public function testUsersWithoutPermission() {
// Create 3 users, each with insufficient permissions, i.e. without either
@@ -117,7 +117,7 @@ public function testUsersWithoutPermission() {
}
/**
- * Test loading of untransformed text when a user does have access to it.
+ * Tests loading of untransformed text when a user does have access to it.
*/
public function testUserWithPermission() {
$user = $this->drupalCreateUser(array_merge(static::$basicPermissions, ['edit any article content', 'access in-place editing']));
diff --git a/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php b/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
index b34504e955..2c70a0f3c9 100644
--- a/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
+++ b/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
@@ -186,7 +186,7 @@ public function testBooleanField() {
}
/**
- * Test field access.
+ * Tests field access.
*/
public function testFormAccess() {
$on = 'boolean_on';
diff --git a/core/modules/field/tests/src/Functional/FieldAccessTest.php b/core/modules/field/tests/src/Functional/FieldAccessTest.php
index 4070f6eb39..9aac39cabd 100644
--- a/core/modules/field/tests/src/Functional/FieldAccessTest.php
+++ b/core/modules/field/tests/src/Functional/FieldAccessTest.php
@@ -79,7 +79,7 @@ protected function setUp(): void {
}
/**
- * Test that hook_entity_field_access() is called.
+ * Tests that hook_entity_field_access() is called.
*/
public function testFieldAccess() {
diff --git a/core/modules/field/tests/src/Functional/FieldHelpTest.php b/core/modules/field/tests/src/Functional/FieldHelpTest.php
index 7ed4bfb6bd..9a2254922c 100644
--- a/core/modules/field/tests/src/Functional/FieldHelpTest.php
+++ b/core/modules/field/tests/src/Functional/FieldHelpTest.php
@@ -39,7 +39,7 @@ protected function setUp(): void {
}
/**
- * Test the Field module's help page.
+ * Tests the Field module's help page.
*/
public function testFieldHelp() {
// Log in the admin user.
diff --git a/core/modules/field/tests/src/Functional/Number/NumberFieldTest.php b/core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
index e4e9358c71..2b8948a3d7 100644
--- a/core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
+++ b/core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
@@ -39,7 +39,7 @@ protected function setUp(): void {
}
/**
- * Test decimal field.
+ * Tests decimal field.
*/
public function testNumberDecimalField() {
// Create a field with settings to validate.
@@ -127,7 +127,7 @@ public function testNumberDecimalField() {
}
/**
- * Test integer field.
+ * Tests integer field.
*/
public function testNumberIntegerField() {
$minimum = rand(-4000, -2000);
@@ -278,7 +278,7 @@ public function testNumberIntegerField() {
}
/**
- * Test float field.
+ * Tests float field.
*/
public function testNumberFloatField() {
// Create a field with settings to validate.
diff --git a/core/modules/field/tests/src/Functional/String/StringFieldTest.php b/core/modules/field/tests/src/Functional/String/StringFieldTest.php
index 15c0f43644..da46feedf7 100644
--- a/core/modules/field/tests/src/Functional/String/StringFieldTest.php
+++ b/core/modules/field/tests/src/Functional/String/StringFieldTest.php
@@ -44,7 +44,7 @@ protected function setUp(): void {
// Test fields.
/**
- * Test widgets.
+ * Tests widgets.
*/
public function testTextfieldWidgets() {
$this->_testTextfieldWidgets('string', 'string_textfield');
diff --git a/core/modules/field/tests/src/Functional/reEnableModuleFieldTest.php b/core/modules/field/tests/src/Functional/reEnableModuleFieldTest.php
index 51f2523225..72701fa327 100644
--- a/core/modules/field/tests/src/Functional/reEnableModuleFieldTest.php
+++ b/core/modules/field/tests/src/Functional/reEnableModuleFieldTest.php
@@ -45,7 +45,7 @@ protected function setUp(): void {
}
/**
- * Test the behavior of a field module after being disabled and re-enabled.
+ * Tests the behavior of a field module after being disabled and re-enabled.
*
* @see field_system_info_alter()
*/
diff --git a/core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php b/core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php
index 00ada09373..31645f26bd 100644
--- a/core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php
+++ b/core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php
@@ -42,7 +42,7 @@ protected function setUp(): void {
}
/**
- * Test default formatter behavior.
+ * Tests default formatter behavior.
*/
public function testNumberFormatter() {
$type = mb_strtolower($this->randomMachineName());
diff --git a/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php b/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
index d509463d5e..5723e45b28 100644
--- a/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
+++ b/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
@@ -332,7 +332,7 @@ public function testEntityAutoCreate() {
}
/**
- * Test saving order sequence doesn't matter.
+ * Tests saving order sequence doesn't matter.
*/
public function testEntitySaveOrder() {
// The term entity is unsaved here.
diff --git a/core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php b/core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php
index 472df0bd7f..d0ce09a1d7 100644
--- a/core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php
@@ -21,7 +21,7 @@ protected function setUp(): void {
}
/**
- * Test rendering fields with EntityDisplay build().
+ * Tests rendering fields with EntityDisplay build().
*/
public function testEntityDisplayBuild() {
$this->createFieldWithStorage('_2');
@@ -157,7 +157,7 @@ public function testEntityDisplayViewMultiple() {
}
/**
- * Test entity cache.
+ * Tests entity cache.
*
* Complements unit test coverage in
* \Drupal\Tests\Core\Entity\Sql\SqlContentEntityStorageTest.
diff --git a/core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php b/core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
index ebb080c46e..1e25127420 100644
--- a/core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
@@ -71,7 +71,7 @@ public function testFieldAttachSaveLoad() {
}
/**
- * Test the 'multiple' load feature.
+ * Tests the 'multiple' load feature.
*/
public function testFieldAttachLoadMultiple() {
$entity_type = 'entity_test_rev';
@@ -191,7 +191,7 @@ public function testFieldAttachSaveEmptyData() {
}
/**
- * Test insert with empty or NULL fields, with default value.
+ * Tests insert with empty or NULL fields, with default value.
*/
public function testFieldAttachSaveEmptyDataDefaultValue() {
$entity_type = 'entity_test_rev';
@@ -224,7 +224,7 @@ public function testFieldAttachSaveEmptyDataDefaultValue() {
}
/**
- * Test entity deletion.
+ * Tests entity deletion.
*/
public function testFieldAttachDelete() {
$entity_type = 'entity_test_rev';
@@ -284,7 +284,7 @@ public function testFieldAttachDelete() {
}
/**
- * Test entity_bundle_create().
+ * Tests entity_bundle_create().
*/
public function testEntityCreateBundle() {
$entity_type = 'entity_test_rev';
@@ -312,7 +312,7 @@ public function testEntityCreateBundle() {
}
/**
- * Test entity_bundle_delete().
+ * Tests entity_bundle_delete().
*/
public function testEntityDeleteBundle() {
$entity_type = 'entity_test_rev';
diff --git a/core/modules/field/tests/src/Kernel/FieldCrudTest.php b/core/modules/field/tests/src/Kernel/FieldCrudTest.php
index b88b876f55..59a597b3ef 100644
--- a/core/modules/field/tests/src/Kernel/FieldCrudTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldCrudTest.php
@@ -62,7 +62,7 @@ public function setUp(): void {
// and for testUpdateField
/**
- * Test the creation of a field.
+ * Tests the creation of a field.
*/
public function testCreateField() {
$field = FieldConfig::create($this->fieldDefinition);
@@ -195,7 +195,7 @@ protected function doFieldPropertyConstraintsTests() {
}
/**
- * Test creating a field with custom storage set.
+ * Tests creating a field with custom storage set.
*/
public function testCreateFieldCustomStorage() {
$field_name = mb_strtolower($this->randomMachineName());
@@ -233,7 +233,7 @@ public function testCreateFieldCustomStorage() {
}
/**
- * Test reading back a field definition.
+ * Tests reading back a field definition.
*/
public function testReadField() {
FieldConfig::create($this->fieldDefinition)->save();
@@ -246,7 +246,7 @@ public function testReadField() {
}
/**
- * Test the update of a field.
+ * Tests the update of a field.
*/
public function testUpdateField() {
FieldConfig::create($this->fieldDefinition)->save();
@@ -268,7 +268,7 @@ public function testUpdateField() {
}
/**
- * Test the deletion of a field with no data.
+ * Tests the deletion of a field with no data.
*/
public function testDeleteFieldNoData() {
// Deleting and purging fields with data is tested in
diff --git a/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php b/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
index df5ed51c52..7b2864fbcb 100644
--- a/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
+++ b/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
@@ -29,7 +29,7 @@ class FieldStorageCrudTest extends FieldKernelTestBase {
// defer actual $field comparison to a helper function, used for the two cases above
/**
- * Test the creation of a field storage.
+ * Tests the creation of a field storage.
*/
public function testCreate() {
$field_storage_definition = [
@@ -235,7 +235,7 @@ public function testRead() {
}
/**
- * Test creation of indexes on data column.
+ * Tests creation of indexes on data column.
*/
public function testIndexes() {
// Check that indexes specified by the field type are used by default.
@@ -285,7 +285,7 @@ public function testIndexes() {
}
/**
- * Test the deletion of a field storage.
+ * Tests the deletion of a field storage.
*/
public function testDeleteNoData() {
// Deleting and purging field storages with data is tested in
@@ -386,7 +386,7 @@ public function testUpdateFieldType() {
}
/**
- * Test changing a field storage type.
+ * Tests changing a field storage type.
*/
public function testUpdateEntityType() {
$field_storage = FieldStorageConfig::create([
@@ -404,7 +404,7 @@ public function testUpdateEntityType() {
}
/**
- * Test changing a field storage entity type.
+ * Tests changing a field storage entity type.
*/
public function testUpdateEntityTargetType() {
$field_storage = FieldStorageConfig::create([
@@ -422,7 +422,7 @@ public function testUpdateEntityTargetType() {
}
/**
- * Test updating a field storage.
+ * Tests updating a field storage.
*/
public function testUpdate() {
// Create a field with a defined cardinality, so that we can ensure it's
@@ -464,7 +464,7 @@ public function testUpdate() {
}
/**
- * Test field type modules forbidding an update.
+ * Tests field type modules forbidding an update.
*/
public function testUpdateForbid() {
$field_storage = FieldStorageConfig::create([
diff --git a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php
index d93d79b49a..70ed7d25a2 100644
--- a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php
+++ b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php
@@ -39,7 +39,7 @@ protected function assertComponentNotExists($display_id, $component_id) {
}
/**
- * Test that migrated entity display settings can be loaded using D8 API's.
+ * Tests that migrated entity display settings can be loaded using D8 API's.
*/
public function testEntityDisplaySettings() {
// Run tests.
diff --git a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldWidgetSettingsTest.php b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldWidgetSettingsTest.php
index 1317fa16c4..e51c8460bb 100644
--- a/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldWidgetSettingsTest.php
+++ b/core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldWidgetSettingsTest.php
@@ -26,7 +26,7 @@ protected function setUp(): void {
}
/**
- * Test that migrated view modes can be loaded using D8 API's.
+ * Tests that migrated view modes can be loaded using D8 API's.
*/
public function testWidgetSettings() {
// Test the config can be loaded.
diff --git a/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceWidgetSettingsTest.php b/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceWidgetSettingsTest.php
index 6f97ec66b5..4ae09fa016 100644
--- a/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceWidgetSettingsTest.php
+++ b/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceWidgetSettingsTest.php
@@ -77,7 +77,7 @@ protected function assertComponent($display_id, $component_id, $widget_type, $we
}
/**
- * Test that migrated view modes can be loaded using D8 APIs.
+ * Tests that migrated view modes can be loaded using D8 APIs.
*/
public function testWidgetSettings() {
$this->assertEntity('node.page.default', 'node', 'page');
diff --git a/core/modules/field/tests/src/Kernel/TranslationTest.php b/core/modules/field/tests/src/Kernel/TranslationTest.php
index 5cdf010664..3aeeb548bb 100644
--- a/core/modules/field/tests/src/Kernel/TranslationTest.php
+++ b/core/modules/field/tests/src/Kernel/TranslationTest.php
@@ -105,7 +105,7 @@ protected function setUp(): void {
}
/**
- * Test translatable fields storage/retrieval.
+ * Tests translatable fields storage/retrieval.
*/
public function testTranslatableFieldSaveLoad() {
// Enable field translations for nodes.
diff --git a/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php b/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
index bf9d3c2aae..796d98e72e 100644
--- a/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
+++ b/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
@@ -160,7 +160,7 @@ public function testCalculateDependencies() {
}
/**
- * Test that invalid bundles are handled.
+ * Tests that invalid bundles are handled.
*/
public function testCalculateDependenciesIncorrectBundle() {
$storage = $this->createMock('\Drupal\Core\Config\Entity\ConfigEntityStorageInterface');
diff --git a/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php b/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
index 45e1640423..42a03fcee9 100644
--- a/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
+++ b/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
@@ -124,7 +124,7 @@ public function testEntityDisplayCRUD() {
}
/**
- * Test sorting of components by name on basic CRUD operations
+ * Tests sorting of components by name on basic CRUD operations
*/
public function testEntityDisplayCRUDSort() {
$display = EntityViewDisplay::create([
@@ -484,7 +484,7 @@ public function testEntityDisplayInvalidateCacheTags() {
}
/**
- * Test getDisplayModeOptions().
+ * Tests getDisplayModeOptions().
*/
public function testGetDisplayModeOptions() {
NodeType::create(['type' => 'article'])->save();
diff --git a/core/modules/file/tests/src/Functional/DownloadTest.php b/core/modules/file/tests/src/Functional/DownloadTest.php
index 551edcdca0..251e6550f3 100644
--- a/core/modules/file/tests/src/Functional/DownloadTest.php
+++ b/core/modules/file/tests/src/Functional/DownloadTest.php
@@ -23,7 +23,7 @@ protected function setUp(): void {
}
/**
- * Test the public file transfer system.
+ * Tests the public file transfer system.
*/
public function testPublicFileTransfer() {
// Test generating a URL to a created file.
@@ -47,14 +47,14 @@ public function testPublicFileTransfer() {
}
/**
- * Test the private file transfer system.
+ * Tests the private file transfer system.
*/
public function testPrivateFileTransferWithoutPageCache() {
$this->doPrivateFileTransferTest();
}
/**
- * Test the private file transfer system.
+ * Tests the private file transfer system.
*/
protected function doPrivateFileTransferTest() {
// Set file downloads to private so handler functions get called.
@@ -107,7 +107,7 @@ protected function doPrivateFileTransferTest() {
}
/**
- * Test file_create_url().
+ * Tests file_create_url().
*/
public function testFileCreateUrl() {
// "Special" ASCII characters.
diff --git a/core/modules/file/tests/src/Functional/SaveUploadTest.php b/core/modules/file/tests/src/Functional/SaveUploadTest.php
index 68e6becc58..b0e065bb2c 100644
--- a/core/modules/file/tests/src/Functional/SaveUploadTest.php
+++ b/core/modules/file/tests/src/Functional/SaveUploadTest.php
@@ -91,7 +91,7 @@ protected function setUp(): void {
}
/**
- * Test the file_save_upload() function.
+ * Tests the file_save_upload() function.
*/
public function testNormal() {
$max_fid_after = (int) \Drupal::entityQueryAggregate('file')->aggregate('fid', 'max')->execute()[0]['fid_max'];
@@ -140,7 +140,7 @@ public function testNormal() {
}
/**
- * Test uploading a duplicate file.
+ * Tests uploading a duplicate file.
*/
public function testDuplicate() {
// It should not be possible to create two managed files with the same URI.
@@ -169,7 +169,7 @@ public function testDuplicate() {
}
/**
- * Test extension handling.
+ * Tests extension handling.
*/
public function testHandleExtension() {
// The file being tested is a .gif which is in the default safe list
@@ -230,7 +230,7 @@ public function testHandleExtension() {
}
/**
- * Test dangerous file handling.
+ * Tests dangerous file handling.
*/
public function testHandleDangerousFile() {
$config = $this->config('system.file');
@@ -274,7 +274,7 @@ public function testHandleDangerousFile() {
}
/**
- * Test file munge handling.
+ * Tests file munge handling.
*/
public function testHandleFileMunge() {
// Ensure insecure uploads are disabled for this test.
@@ -323,7 +323,7 @@ public function testHandleFileMunge() {
}
/**
- * Test renaming when uploading over a file that already exists.
+ * Tests renaming when uploading over a file that already exists.
*/
public function testExistingRename() {
$edit = [
@@ -340,7 +340,7 @@ public function testExistingRename() {
}
/**
- * Test replacement when uploading over a file that already exists.
+ * Tests replacement when uploading over a file that already exists.
*/
public function testExistingReplace() {
$edit = [
@@ -357,7 +357,7 @@ public function testExistingReplace() {
}
/**
- * Test for failure when uploading over a file that already exists.
+ * Tests for failure when uploading over a file that already exists.
*/
public function testExistingError() {
$edit = [
@@ -373,7 +373,7 @@ public function testExistingError() {
}
/**
- * Test for no failures when not uploading a file.
+ * Tests for no failures when not uploading a file.
*/
public function testNoUpload() {
$this->drupalPostForm('file-test/upload', [], t('Submit'));
diff --git a/core/modules/file/tests/src/FunctionalJavascript/AjaxFileManagedMultipleTest.php b/core/modules/file/tests/src/FunctionalJavascript/AjaxFileManagedMultipleTest.php
index 9dc7665013..632bcdb47c 100644
--- a/core/modules/file/tests/src/FunctionalJavascript/AjaxFileManagedMultipleTest.php
+++ b/core/modules/file/tests/src/FunctionalJavascript/AjaxFileManagedMultipleTest.php
@@ -28,7 +28,7 @@ class AjaxFileManagedMultipleTest extends WebDriverTestBase {
protected $defaultTheme = 'stark';
/**
- * Test if managed file form element works well with multiple files upload.
+ * Tests if managed file form element works well with multiple files upload.
*/
public function testMultipleFilesUpload() {
$file_system = \Drupal::service('file_system');
diff --git a/core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php b/core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php
index 44bf484561..6c667ecd12 100644
--- a/core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php
+++ b/core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php
@@ -28,7 +28,7 @@ class FileFieldValidateTest extends WebDriverTestBase {
protected $defaultTheme = 'stark';
/**
- * Test the validation message is displayed only once for ajax uploads.
+ * Tests the validation message is displayed only once for ajax uploads.
*/
public function testAjaxValidationMessage() {
$field_name = strtolower($this->randomMachineName());
diff --git a/core/modules/file/tests/src/Kernel/CopyTest.php b/core/modules/file/tests/src/Kernel/CopyTest.php
index e196508ccd..8007236699 100644
--- a/core/modules/file/tests/src/Kernel/CopyTest.php
+++ b/core/modules/file/tests/src/Kernel/CopyTest.php
@@ -13,7 +13,7 @@
class CopyTest extends FileManagedUnitTestBase {
/**
- * Test file copying in the normal, base case.
+ * Tests file copying in the normal, base case.
*/
public function testNormal() {
$contents = $this->randomMachineName(10);
@@ -42,7 +42,7 @@ public function testNormal() {
}
/**
- * Test renaming when copying over a file that already exists.
+ * Tests renaming when copying over a file that already exists.
*/
public function testExistingRename() {
// Setup a file to overwrite.
@@ -82,7 +82,7 @@ public function testExistingRename() {
}
/**
- * Test replacement when copying over a file that already exists.
+ * Tests replacement when copying over a file that already exists.
*/
public function testExistingReplace() {
// Setup a file to overwrite.
@@ -120,7 +120,7 @@ public function testExistingReplace() {
}
/**
- * Test that copying over an existing file fails when instructed to do so.
+ * Tests that copying over an existing file fails when instructed to do so.
*/
public function testExistingError() {
$contents = $this->randomMachineName(10);
diff --git a/core/modules/file/tests/src/Kernel/FileUrlTest.php b/core/modules/file/tests/src/Kernel/FileUrlTest.php
index de385935c6..8cc995c418 100644
--- a/core/modules/file/tests/src/Kernel/FileUrlTest.php
+++ b/core/modules/file/tests/src/Kernel/FileUrlTest.php
@@ -12,7 +12,7 @@
class FileUrlTest extends FileManagedUnitTestBase {
/**
- * Test public files with a different host name from settings.
+ * Tests public files with a different host name from settings.
*/
public function testFilesUrlWithDifferentHostName() {
$test_base_url = 'http://www.example.com/cdn';
diff --git a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadTest.php b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadTest.php
index ab054bdf6b..3d210aa7e5 100644
--- a/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadTest.php
+++ b/core/modules/file/tests/src/Kernel/Migrate/d6/MigrateUploadTest.php
@@ -64,7 +64,7 @@ protected function setUp(): void {
}
/**
- * Test upload migration from Drupal 6 to Drupal 8.
+ * Tests upload migration from Drupal 6 to Drupal 8.
*/
public function testUpload() {
$this->container->get('entity_type.manager')
diff --git a/core/modules/file/tests/src/Kernel/MoveTest.php b/core/modules/file/tests/src/Kernel/MoveTest.php
index c841d36c5f..dd22f3c673 100644
--- a/core/modules/file/tests/src/Kernel/MoveTest.php
+++ b/core/modules/file/tests/src/Kernel/MoveTest.php
@@ -44,7 +44,7 @@ public function testNormal() {
}
/**
- * Test renaming when moving onto a file that already exists.
+ * Tests renaming when moving onto a file that already exists.
*/
public function testExistingRename() {
// Setup a file to overwrite.
@@ -79,7 +79,7 @@ public function testExistingRename() {
}
/**
- * Test replacement when moving onto a file that already exists.
+ * Tests replacement when moving onto a file that already exists.
*/
public function testExistingReplace() {
// Setup a file to overwrite.
@@ -111,7 +111,7 @@ public function testExistingReplace() {
}
/**
- * Test replacement when moving onto itself.
+ * Tests replacement when moving onto itself.
*/
public function testExistingReplaceSelf() {
// Setup a file to overwrite.
@@ -133,7 +133,7 @@ public function testExistingReplaceSelf() {
}
/**
- * Test that moving onto an existing file fails when instructed to do so.
+ * Tests that moving onto an existing file fails when instructed to do so.
*/
public function testExistingError() {
$contents = $this->randomMachineName(10);
diff --git a/core/modules/file/tests/src/Kernel/SaveDataTest.php b/core/modules/file/tests/src/Kernel/SaveDataTest.php
index 38a53c601e..93e3b25905 100644
--- a/core/modules/file/tests/src/Kernel/SaveDataTest.php
+++ b/core/modules/file/tests/src/Kernel/SaveDataTest.php
@@ -14,7 +14,7 @@
class SaveDataTest extends FileManagedUnitTestBase {
/**
- * Test the file_save_data() function when no filename is provided.
+ * Tests the file_save_data() function when no filename is provided.
*/
public function testWithoutFilename() {
$contents = $this->randomMachineName(8);
@@ -38,7 +38,7 @@ public function testWithoutFilename() {
}
/**
- * Test the file_save_data() function when a filename is provided.
+ * Tests the file_save_data() function when a filename is provided.
*/
public function testWithFilename() {
$contents = $this->randomMachineName(8);
@@ -65,7 +65,7 @@ public function testWithFilename() {
}
/**
- * Test file_save_data() when renaming around an existing file.
+ * Tests file_save_data() when renaming around an existing file.
*/
public function testExistingRename() {
// Setup a file to overwrite.
@@ -95,7 +95,7 @@ public function testExistingRename() {
}
/**
- * Test file_save_data() when replacing an existing file.
+ * Tests file_save_data() when replacing an existing file.
*/
public function testExistingReplace() {
// Setup a file to overwrite.
@@ -124,7 +124,7 @@ public function testExistingReplace() {
}
/**
- * Test that file_save_data() fails overwriting an existing file.
+ * Tests that file_save_data() fails overwriting an existing file.
*/
public function testExistingError() {
$contents = $this->randomMachineName(8);
diff --git a/core/modules/file/tests/src/Kernel/SpaceUsedTest.php b/core/modules/file/tests/src/Kernel/SpaceUsedTest.php
index e510d86d05..8ffcf3f858 100644
--- a/core/modules/file/tests/src/Kernel/SpaceUsedTest.php
+++ b/core/modules/file/tests/src/Kernel/SpaceUsedTest.php
@@ -52,7 +52,7 @@ protected function createFileWithSize($uri, $size, $uid, $status = FILE_STATUS_P
}
/**
- * Test different users with the default status.
+ * Tests different users with the default status.
*/
public function testFileSpaceUsed() {
$file = $this->container->get('entity_type.manager')->getStorage('file');
diff --git a/core/modules/file/tests/src/Kernel/ValidateTest.php b/core/modules/file/tests/src/Kernel/ValidateTest.php
index 3e9eb07a8a..74304e304d 100644
--- a/core/modules/file/tests/src/Kernel/ValidateTest.php
+++ b/core/modules/file/tests/src/Kernel/ValidateTest.php
@@ -10,7 +10,7 @@
class ValidateTest extends FileManagedUnitTestBase {
/**
- * Test that the validators passed into are checked.
+ * Tests that the validators passed into are checked.
*/
public function testCallerValidation() {
$file = $this->createFile();
diff --git a/core/modules/file/tests/src/Kernel/ValidatorTest.php b/core/modules/file/tests/src/Kernel/ValidatorTest.php
index b3d13e2547..64653a1764 100644
--- a/core/modules/file/tests/src/Kernel/ValidatorTest.php
+++ b/core/modules/file/tests/src/Kernel/ValidatorTest.php
@@ -40,7 +40,7 @@ protected function setUp(): void {
}
/**
- * Test the file_validate_extensions() function.
+ * Tests the file_validate_extensions() function.
*/
public function testFileValidateExtensions() {
$file = File::create(['filename' => 'asdf.txt']);
@@ -140,7 +140,7 @@ public function testFileValidateNameLength() {
}
/**
- * Test file_validate_size().
+ * Tests file_validate_size().
*/
public function testFileValidateSize() {
// Create a file with a size of 1000 bytes, and quotas of only 1 byte.
diff --git a/core/modules/filter/tests/src/Kernel/FilterCaptionTwigDebugTest.php b/core/modules/filter/tests/src/Kernel/FilterCaptionTwigDebugTest.php
index 26200118c7..6ebffd1f81 100644
--- a/core/modules/filter/tests/src/Kernel/FilterCaptionTwigDebugTest.php
+++ b/core/modules/filter/tests/src/Kernel/FilterCaptionTwigDebugTest.php
@@ -31,7 +31,7 @@ public function register(ContainerBuilder $container) {
}
/**
- * Test the caption filter with Twig debugging on.
+ * Tests the caption filter with Twig debugging on.
*/
public function testCaptionFilter() {
$manager = $this->container->get('plugin.manager.filter');
diff --git a/core/modules/hal/tests/src/Kernel/DenormalizeTest.php b/core/modules/hal/tests/src/Kernel/DenormalizeTest.php
index 320ab65a5c..d3884fed68 100644
--- a/core/modules/hal/tests/src/Kernel/DenormalizeTest.php
+++ b/core/modules/hal/tests/src/Kernel/DenormalizeTest.php
@@ -105,7 +105,7 @@ public function testTypeHandlingWithNoTypes() {
}
/**
- * Test that a field set to an empty array is different than an absent field.
+ * Tests that a field set to an empty array is different than an absent field.
*/
public function testMarkFieldForDeletion() {
// Add a default value for a field.
diff --git a/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php b/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
index ca7f31a5ba..0cdbd21333 100644
--- a/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
+++ b/core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
@@ -57,7 +57,7 @@ public function getImageCount(ImageStyleInterface $style) {
}
/**
- * Test creating an image style with a numeric name and ensuring it can be
+ * Tests creating an image style with a numeric name and ensuring it can be
* applied to an image.
*/
public function testNumericStyleName() {
@@ -307,7 +307,7 @@ public function testStyle() {
}
/**
- * Test deleting a style and choosing a replacement style.
+ * Tests deleting a style and choosing a replacement style.
*/
public function testStyleReplacement() {
// Create a new style.
@@ -423,7 +423,7 @@ public function testEditEffect() {
}
/**
- * Test flush user interface.
+ * Tests flush user interface.
*/
public function testFlushUserInterface() {
$admin_path = 'admin/config/media/image-styles';
diff --git a/core/modules/image/tests/src/Functional/ImageDimensionsTest.php b/core/modules/image/tests/src/Functional/ImageDimensionsTest.php
index bed6eeb6c4..51d16eb050 100644
--- a/core/modules/image/tests/src/Functional/ImageDimensionsTest.php
+++ b/core/modules/image/tests/src/Functional/ImageDimensionsTest.php
@@ -34,7 +34,7 @@ class ImageDimensionsTest extends BrowserTestBase {
protected $profile = 'testing';
/**
- * Test styled image dimensions cumulatively.
+ * Tests styled image dimensions cumulatively.
*/
public function testImageDimensions() {
$image_factory = $this->container->get('image.factory');
diff --git a/core/modules/image/tests/src/Functional/ImageEffectsTest.php b/core/modules/image/tests/src/Functional/ImageEffectsTest.php
index d8c1500abe..eb1fc9ba26 100644
--- a/core/modules/image/tests/src/Functional/ImageEffectsTest.php
+++ b/core/modules/image/tests/src/Functional/ImageEffectsTest.php
@@ -37,7 +37,7 @@ protected function setUp(): void {
}
/**
- * Test the image_resize_effect() function.
+ * Tests the image_resize_effect() function.
*/
public function testResizeEffect() {
$this->assertImageEffect('image_resize', [
@@ -53,7 +53,7 @@ public function testResizeEffect() {
}
/**
- * Test the image_scale_effect() function.
+ * Tests the image_scale_effect() function.
*/
public function testScaleEffect() {
// @todo: need to test upscaling.
@@ -70,7 +70,7 @@ public function testScaleEffect() {
}
/**
- * Test the image_crop_effect() function.
+ * Tests the image_crop_effect() function.
*/
public function testCropEffect() {
// @todo should test the keyword offsets.
@@ -105,7 +105,7 @@ public function testConvertEffect() {
}
/**
- * Test the image_scale_and_crop_effect() function.
+ * Tests the image_scale_and_crop_effect() function.
*/
public function testScaleAndCropEffect() {
$this->assertImageEffect('image_scale_and_crop', [
@@ -123,7 +123,7 @@ public function testScaleAndCropEffect() {
}
/**
- * Test the image_scale_and_crop_effect() function with an anchor.
+ * Tests the image_scale_and_crop_effect() function with an anchor.
*/
public function testScaleAndCropEffectWithAnchor() {
$this->assertImageEffect('image_scale_and_crop', [
@@ -142,7 +142,7 @@ public function testScaleAndCropEffectWithAnchor() {
}
/**
- * Test the image_desaturate_effect() function.
+ * Tests the image_desaturate_effect() function.
*/
public function testDesaturateEffect() {
$this->assertImageEffect('image_desaturate', []);
@@ -154,7 +154,7 @@ public function testDesaturateEffect() {
}
/**
- * Test the image_rotate_effect() function.
+ * Tests the image_rotate_effect() function.
*/
public function testRotateEffect() {
// @todo: need to test with 'random' => TRUE
@@ -171,7 +171,7 @@ public function testRotateEffect() {
}
/**
- * Test image effect caching.
+ * Tests image effect caching.
*/
public function testImageEffectsCaching() {
$image_effect_definitions_called = &drupal_static('image_module_test_image_effect_info_alter');
diff --git a/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php b/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
index 9424eb253f..f885711e54 100644
--- a/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
+++ b/core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
@@ -40,14 +40,14 @@ class ImageFieldDisplayTest extends ImageFieldTestBase {
protected $defaultTheme = 'classy';
/**
- * Test image formatters on node display for public files.
+ * Tests image formatters on node display for public files.
*/
public function testImageFieldFormattersPublic() {
$this->_testImageFieldFormatters('public');
}
/**
- * Test image formatters on node display for private files.
+ * Tests image formatters on node display for private files.
*/
public function testImageFieldFormattersPrivate() {
// Remove access content permission from anonymous users.
@@ -56,7 +56,7 @@ public function testImageFieldFormattersPrivate() {
}
/**
- * Test image formatters on node display.
+ * Tests image formatters on node display.
*/
public function _testImageFieldFormatters($scheme) {
/** @var \Drupal\Core\Render\RendererInterface $renderer */
@@ -350,7 +350,7 @@ public function testImageFieldSettings() {
}
/**
- * Test use of a default image with an image field.
+ * Tests use of a default image with an image field.
*/
public function testImageFieldDefaultImage() {
/** @var \Drupal\Core\Render\RendererInterface $renderer */
diff --git a/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php b/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
index e02b0ed604..097a37d8a9 100644
--- a/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
+++ b/core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
@@ -23,7 +23,7 @@ class ImageFieldValidateTest extends ImageFieldTestBase {
protected $defaultTheme = 'stark';
/**
- * Test image validity.
+ * Tests image validity.
*/
public function testValid() {
$file_system = $this->container->get('file_system');
@@ -81,7 +81,7 @@ public function testValid() {
}
/**
- * Test min/max resolution settings.
+ * Tests min/max resolution settings.
*/
public function testResolution() {
$field_names = [
@@ -160,7 +160,7 @@ public function testResolution() {
}
/**
- * Test that required alt/title fields gets validated right.
+ * Tests that required alt/title fields gets validated right.
*/
public function testRequiredAttributes() {
$field_name = strtolower($this->randomMachineName());
diff --git a/core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php b/core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php
index a8907d74c9..da9b958e6a 100644
--- a/core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php
+++ b/core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php
@@ -18,7 +18,7 @@ class ImageFieldValidateTest extends ImageFieldTestBase {
protected $defaultTheme = 'stark';
/**
- * Test the validation message is displayed only once for ajax uploads.
+ * Tests the validation message is displayed only once for ajax uploads.
*/
public function testAJAXValidationMessage() {
$field_name = strtolower($this->randomMachineName());
diff --git a/core/modules/image/tests/src/FunctionalJavascript/QuickEditImageTest.php b/core/modules/image/tests/src/FunctionalJavascript/QuickEditImageTest.php
index b9cf619656..1c5cc34c08 100644
--- a/core/modules/image/tests/src/FunctionalJavascript/QuickEditImageTest.php
+++ b/core/modules/image/tests/src/FunctionalJavascript/QuickEditImageTest.php
@@ -57,7 +57,7 @@ protected function setUp(): void {
}
/**
- * Test that quick editor works correctly with images.
+ * Tests that quick editor works correctly with images.
*
* @covers ::isCompatible
* @covers ::getAttachments
diff --git a/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php b/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php
index 72fe1eb209..01be753508 100644
--- a/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php
+++ b/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php
@@ -47,7 +47,7 @@ public function testMissingTable() {
}
/**
- * Test basic passing migrations.
+ * Tests basic passing migrations.
*/
public function testPassingMigration() {
$this->executeMigration('d6_imagecache_presets');
@@ -84,7 +84,7 @@ public function testPassingMigration() {
}
/**
- * Test that missing actions causes failures.
+ * Tests that missing actions causes failures.
*/
public function testMissingEffectPlugin() {
Database::getConnection('default', 'migrate')->insert("imagecache_action")
@@ -112,7 +112,7 @@ public function testMissingEffectPlugin() {
}
/**
- * Test that missing action's causes failures.
+ * Tests that missing action's causes failures.
*/
public function testInvalidCropValues() {
Database::getConnection('default', 'migrate')->insert("imagecache_action")
diff --git a/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php b/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php
index e4df819e87..dd4ebd2893 100644
--- a/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php
+++ b/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php
@@ -36,7 +36,7 @@ protected function setUp(): void {
}
/**
- * Test image migration from Drupal 6 to 8.
+ * Tests image migration from Drupal 6 to 8.
*/
public function testNode() {
$node = Node::load(9);
diff --git a/core/modules/image/tests/src/Kernel/Migrate/d7/MigrateImageStylesTest.php b/core/modules/image/tests/src/Kernel/Migrate/d7/MigrateImageStylesTest.php
index fe8b53c37a..cdb3d2cc68 100644
--- a/core/modules/image/tests/src/Kernel/Migrate/d7/MigrateImageStylesTest.php
+++ b/core/modules/image/tests/src/Kernel/Migrate/d7/MigrateImageStylesTest.php
@@ -29,7 +29,7 @@ protected function setUp(): void {
}
/**
- * Test the image styles migration.
+ * Tests the image styles migration.
*/
public function testImageStylesMigration() {
$this->assertEntity('custom_image_style_1', "Custom image style 1", ['image_scale_and_crop', 'image_desaturate'], [['width' => 55, 'height' => 55, 'anchor' => 'center-center'], []]);
diff --git a/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php b/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php
index 5c9097df54..a2dfbf3152 100644
--- a/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php
@@ -115,7 +115,7 @@ protected function getExpectedCacheContexts(array $sparse_fieldset = NULL) {
}
/**
- * Test a GET request for a default config entity, which has a _core key.
+ * Tests a GET request for a default config entity, which has a _core key.
*
* @see https://www.drupal.org/project/jsonapi/issues/2915539
*/
diff --git a/core/modules/jsonapi/tests/src/Functional/EntryPointTest.php b/core/modules/jsonapi/tests/src/Functional/EntryPointTest.php
index 2ab8da8c08..d9ff036a97 100644
--- a/core/modules/jsonapi/tests/src/Functional/EntryPointTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/EntryPointTest.php
@@ -35,7 +35,7 @@ class EntryPointTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test GETing the entry point.
+ * Tests GETing the entry point.
*/
public function testEntryPoint() {
$request_options = [];
diff --git a/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php b/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
index 93375cd1f7..c80120b2fc 100644
--- a/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php
@@ -29,7 +29,7 @@ class JsonApiFunctionalTest extends JsonApiFunctionalTestBase {
protected $defaultTheme = 'stark';
/**
- * Test the GET method.
+ * Tests the GET method.
*/
public function testRead() {
$this->createDefaultContent(61, 5, TRUE, TRUE, static::IS_NOT_MULTILINGUAL, FALSE);
@@ -515,7 +515,7 @@ public function testRead() {
}
/**
- * Test the GET method on articles referencing the same tag twice.
+ * Tests the GET method on articles referencing the same tag twice.
*/
public function testReferencingTwiceRead() {
$this->createDefaultContent(1, 1, FALSE, FALSE, static::IS_NOT_MULTILINGUAL, TRUE);
@@ -529,7 +529,7 @@ public function testReferencingTwiceRead() {
}
/**
- * Test POST, PATCH and DELETE.
+ * Tests POST, PATCH and DELETE.
*/
public function testWrite() {
$this->config('jsonapi.settings')->set('read_only', FALSE)->save(TRUE);
diff --git a/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php b/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php
index 633d29a500..c60a2607ff 100644
--- a/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php
@@ -187,7 +187,7 @@ public function testCollectionFilterAccess() {
}
/**
- * Test requests using a serialized field item property.
+ * Tests requests using a serialized field item property.
*
* @see https://security.drupal.org/node/161923
*/
diff --git a/core/modules/jsonapi/tests/src/Functional/UserTest.php b/core/modules/jsonapi/tests/src/Functional/UserTest.php
index 6279dd9031..a20320d747 100644
--- a/core/modules/jsonapi/tests/src/Functional/UserTest.php
+++ b/core/modules/jsonapi/tests/src/Functional/UserTest.php
@@ -415,7 +415,7 @@ public function testGetMailFieldOnlyVisibleToOwner() {
}
/**
- * Test good error DX when trying to filter users by role.
+ * Tests good error DX when trying to filter users by role.
*/
public function testQueryInvolvingRoles() {
$this->setUpAuthorization('GET');
diff --git a/core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php b/core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php
index f18b13f6c5..2c9cbfe275 100644
--- a/core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php
+++ b/core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php
@@ -103,7 +103,7 @@ protected function setUp(): void {
}
/**
- * Test translation with URL and Preferred Admin Language negotiators.
+ * Tests translation with URL and Preferred Admin Language negotiators.
*
* The interface language uses the preferred language for admin pages of the
* user and after that the URL. The Content uses just the URL.
@@ -147,7 +147,7 @@ public function testUrlContentTranslationWithPreferredAdminLanguage() {
}
/**
- * Test translation with URL and Session Language Negotiators.
+ * Tests translation with URL and Session Language Negotiators.
*/
public function testUrlContentTranslationWithSessionLanguage() {
$assert_session = $this->assertSession();
diff --git a/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php b/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
index cbefc4f79a..d795c1ca46 100644
--- a/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
@@ -174,7 +174,7 @@ protected function doTestLanguageBlockAnonymous($block_label) {
}
/**
- * Test language switcher links for domain based negotiation.
+ * Tests language switcher links for domain based negotiation.
*/
public function testLanguageBlockWithDomain() {
// Add the Italian language.
@@ -236,7 +236,7 @@ public function testLanguageBlockWithDomain() {
}
/**
- * Test active class on links when switching languages.
+ * Tests active class on links when switching languages.
*/
public function testLanguageLinkActiveClass() {
// Add language.
diff --git a/core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php b/core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
index 557c1912e2..a90daa7685 100644
--- a/core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
+++ b/core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
@@ -416,7 +416,7 @@ protected function doRunTest($test) {
}
/**
- * Test URL language detection when the requested URL has no language.
+ * Tests URL language detection when the requested URL has no language.
*/
public function testUrlLanguageFallback() {
// Add the Italian language.
diff --git a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
index bae7788d4b..64a49ffe44 100644
--- a/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
+++ b/core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
@@ -76,7 +76,7 @@ protected function getNormalizedPostEntity() {
}
/**
- * Test a GET request for a default config entity, which has a _core key.
+ * Tests a GET request for a default config entity, which has a _core key.
*
* @see https://www.drupal.org/node/2915414
*/
diff --git a/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php b/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php
index 8de07c20c5..7f61b7dd0a 100644
--- a/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php
+++ b/core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php
@@ -45,7 +45,7 @@ protected function setUp(): void {
}
/**
- * Test the language condition.
+ * Tests the language condition.
*/
public function testConditions() {
// Grab the language condition and configure it to check the content
diff --git a/core/modules/language/tests/src/Kernel/LanguageDependencyInjectionTest.php b/core/modules/language/tests/src/Kernel/LanguageDependencyInjectionTest.php
index 9fe5e1cb7e..e6c09d278d 100644
--- a/core/modules/language/tests/src/Kernel/LanguageDependencyInjectionTest.php
+++ b/core/modules/language/tests/src/Kernel/LanguageDependencyInjectionTest.php
@@ -14,7 +14,7 @@
class LanguageDependencyInjectionTest extends LanguageTestBase {
/**
- * Test dependency injected languages against a new Language object.
+ * Tests dependency injected languages against a new Language object.
*
* @see \Drupal\Core\Language\LanguageInterface
*/
@@ -25,7 +25,7 @@ public function testDependencyInjectedNewLanguage() {
}
/**
- * Test dependency injected Language object against a new default language
+ * Tests dependency injected Language object against a new default language
* object.
*
* @see \Drupal\Core\Language\Language
diff --git a/core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php b/core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php
index 43baca61f3..658ff74518 100644
--- a/core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php
+++ b/core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php
@@ -61,7 +61,7 @@ public function testWithIncludedLockedLanguage() {
}
/**
- * Test the widget without the locked languages.
+ * Tests the widget without the locked languages.
*/
public function testWithoutIncludedLockedLanguage() {
$this->entityFormDisplay->setComponent('langcode', [
diff --git a/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php b/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php
index a5b2348509..e802857157 100644
--- a/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php
+++ b/core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php
@@ -54,7 +54,7 @@ public function testLanguageContent() {
}
/**
- * Tests migration of content language settings when there is no language lock.
+ * Tests migration of content language settings with no language lock.
*/
public function testLanguageContentWithNoLanguageLock() {
// Assert that a we can assign a language.
diff --git a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
index eeea62f7ef..530ece0361 100644
--- a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
+++ b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
@@ -61,7 +61,7 @@ protected function setUp(): void {
}
/**
- * Test path prefix language negotiation and outbound path processing.
+ * Tests path prefix language negotiation and outbound path processing.
*
* @dataProvider providerTestPathPrefix
*/
@@ -150,7 +150,7 @@ public function providerTestPathPrefix() {
}
/**
- * Test domain language negotiation and outbound path processing.
+ * Tests domain language negotiation and outbound path processing.
*
* @dataProvider providerTestDomain
*/
diff --git a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php
index 5fee081fb9..87fe925c7a 100644
--- a/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php
+++ b/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php
@@ -415,7 +415,7 @@ public function testLayoutBuilderUi() {
}
/**
- * Test that layout builder checks entity view access.
+ * Tests that layout builder checks entity view access.
*/
public function testAccess() {
$assert_session = $this->assertSession();
diff --git a/core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php b/core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php
index 412f4ef77b..e502b7d504 100644
--- a/core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php
+++ b/core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockPrivateFilesTest.php
@@ -58,7 +58,7 @@ protected function setUp(): void {
}
/**
- * Test access to private files added via inline blocks in the layout builder.
+ * Tests access to private files added to inline blocks in the layout builder.
*/
public function testPrivateFiles() {
$assert_session = $this->assertSession();
diff --git a/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderNestedFormUiTest.php b/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderNestedFormUiTest.php
index cd87d98ab9..d2f058dafc 100644
--- a/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderNestedFormUiTest.php
+++ b/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderNestedFormUiTest.php
@@ -62,7 +62,7 @@ protected function setUp(): void {
}
/**
- * Test blocks containing forms can be successfully saved editing defaults.
+ * Tests blocks containing forms can be successfully saved editing defaults.
*/
public function testAddingFormBlocksToDefaults() {
$this->drupalLogin($this->drupalCreateUser([
@@ -96,7 +96,7 @@ public function testAddingFormBlocksToDefaults() {
}
/**
- * Test blocks containing forms can be successfully saved editing overrides.
+ * Tests blocks containing forms can be successfully saved editing overrides.
*/
public function testAddingFormBlocksToOverrides() {
$this->drupalLogin($this->drupalCreateUser([
diff --git a/core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php b/core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php
index 5fcd38c5f3..db40d48302 100644
--- a/core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php
+++ b/core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php
@@ -45,7 +45,7 @@ protected function setUp(): void {
}
/**
- * Test changing the columns widths of a multi-width section.
+ * Tests changing the columns widths of a multi-width section.
*/
public function testWidthChange() {
$assert_session = $this->assertSession();
diff --git a/core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayTest.php b/core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayTest.php
index 81e4f8abbc..6599589dba 100644
--- a/core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayTest.php
+++ b/core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayTest.php
@@ -75,7 +75,7 @@ public function providerTestIsLayoutBuilderEnabled() {
}
/**
- * Tests that setting overridable enables Layout Builder only when set to TRUE.
+ * Tests setting overridable enables Layout Builder only when set to TRUE.
*/
public function testSetOverridable() {
// Disable Layout Builder.
diff --git a/core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php b/core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php
index 19d3431fc4..59e2cbf94b 100644
--- a/core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php
+++ b/core/modules/layout_discovery/tests/src/Kernel/LayoutTest.php
@@ -45,7 +45,7 @@ public function testThemeProvidedLayout() {
}
/**
- * Test rendering a layout.
+ * Tests rendering a layout.
*
* @dataProvider renderLayoutData
*/
diff --git a/core/modules/link/tests/src/Functional/LinkFieldTest.php b/core/modules/link/tests/src/Functional/LinkFieldTest.php
index b78fe175bc..a184b3da37 100644
--- a/core/modules/link/tests/src/Functional/LinkFieldTest.php
+++ b/core/modules/link/tests/src/Functional/LinkFieldTest.php
@@ -647,7 +647,7 @@ public function testLinkSeparateFormatter() {
}
/**
- * Test '#link_type' property exists on 'link_default' widget.
+ * Tests '#link_type' property exists on 'link_default' widget.
*
* Make sure the 'link_default' widget exposes a '#link_type' property on
* its element. Modules can use it to understand if a text form element is
@@ -750,7 +750,7 @@ public function testEditNonNodeEntityLink() {
}
/**
- * Test and as link uri.
+ * Tests and as link uri.
*/
public function testNoLinkUri() {
$field_name = mb_strtolower($this->randomMachineName());
diff --git a/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php b/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php
index 18456aa86a..2f513ea05a 100644
--- a/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php
+++ b/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php
@@ -14,7 +14,7 @@
class FieldLinkTest extends UnitTestCase {
/**
- * Test the url transformations in the FieldLink process plugin.
+ * Tests the url transformations in the FieldLink process plugin.
*
* @dataProvider canonicalizeUriDataProvider
*/
@@ -90,7 +90,7 @@ public function canonicalizeUriDataProvider() {
}
/**
- * Test the attributes that are deeply serialized are discarded.
+ * Tests the attributes that are deeply serialized are discarded.
*/
public function testCanonicalizeUriSerialized() {
$link_plugin = new FieldLink([], '', [], $this->createMock(MigrationInterface::class));
diff --git a/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php b/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
index 3197ff9ad6..62f706f94d 100644
--- a/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
@@ -33,7 +33,7 @@ protected function setUp(): void {
}
/**
- * Test update changes configuration translations if enabled after language.
+ * Tests update changes configuration translations if enabled after language.
*/
public function testConfigTranslationImport() {
$admin_user = $this->drupalCreateUser(['administer modules', 'administer site configuration', 'administer languages', 'access administration pages', 'administer permissions']);
@@ -78,7 +78,7 @@ public function testConfigTranslationImport() {
}
/**
- * Test update changes configuration translations if enabled after language.
+ * Tests update changes configuration translations if enabled after language.
*/
public function testConfigTranslationModuleInstall() {
@@ -142,7 +142,7 @@ public function testConfigTranslationModuleInstall() {
}
/**
- * Test removing a string from Locale deletes configuration translations.
+ * Tests removing a string from Locale deletes configuration translations.
*/
public function testLocaleRemovalAndConfigOverrideDelete() {
// Enable the locale module.
@@ -180,7 +180,7 @@ public function testLocaleRemovalAndConfigOverrideDelete() {
}
/**
- * Test removing a string from Locale changes configuration translations.
+ * Tests removing a string from Locale changes configuration translations.
*/
public function testLocaleRemovalAndConfigOverridePreserve() {
// Enable the locale module.
diff --git a/core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php b/core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php
index 6feef63eaa..fe5eefbcd6 100644
--- a/core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php
@@ -201,7 +201,7 @@ public function testConfigTranslation() {
}
/**
- * Test translatability of optional configuration in locale.
+ * Tests translatability of optional configuration in locale.
*/
public function testOptionalConfiguration() {
$this->assertNodeConfig(FALSE, FALSE);
diff --git a/core/modules/locale/tests/src/Functional/LocaleContentTest.php b/core/modules/locale/tests/src/Functional/LocaleContentTest.php
index 09459f9e8e..9d361f751c 100644
--- a/core/modules/locale/tests/src/Functional/LocaleContentTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleContentTest.php
@@ -56,7 +56,7 @@ public function testMachineNameLTR() {
}
/**
- * Test if a content type can be set to multilingual and language is present.
+ * Tests if a content type can be set to multilingual and language is present.
*/
public function testContentTypeLanguageConfiguration() {
$type1 = $this->drupalCreateContentType();
@@ -134,7 +134,7 @@ public function testContentTypeLanguageConfiguration() {
}
/**
- * Test if a dir and lang tags exist in node's attributes.
+ * Tests if a dir and lang tags exist in node's attributes.
*/
public function testContentTypeDirLang() {
$type = $this->drupalCreateContentType();
diff --git a/core/modules/locale/tests/src/Functional/LocaleExportTest.php b/core/modules/locale/tests/src/Functional/LocaleExportTest.php
index 093e2e992d..a53451c079 100644
--- a/core/modules/locale/tests/src/Functional/LocaleExportTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleExportTest.php
@@ -44,7 +44,7 @@ protected function setUp(): void {
}
/**
- * Test exportation of translations.
+ * Tests exportation of translations.
*/
public function testExportTranslation() {
$file_system = \Drupal::service('file_system');
@@ -117,7 +117,7 @@ public function testExportTranslation() {
}
/**
- * Test exportation of translation template file.
+ * Tests exportation of translation template file.
*/
public function testExportTranslationTemplateFile() {
// Load an admin page with JavaScript so _drupal_add_library() fires at
diff --git a/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php b/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
index 5ed2632e3e..c2cd4f70fb 100644
--- a/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
@@ -68,7 +68,7 @@ protected function setUp(): void {
}
/**
- * Test import of standalone .po files.
+ * Tests import of standalone .po files.
*/
public function testStandalonePoFile() {
// Try importing a .po file.
@@ -237,7 +237,7 @@ public function testStandalonePoFile() {
}
/**
- * Test msgctxt context support.
+ * Tests msgctxt context support.
*/
public function testLanguageContext() {
// Try importing a .po file.
@@ -252,7 +252,7 @@ public function testLanguageContext() {
}
/**
- * Test empty msgstr at end of .po file see #611786.
+ * Tests empty msgstr at end of .po file see #611786.
*/
public function testEmptyMsgstr() {
$langcode = 'hu';
@@ -362,7 +362,7 @@ public function testConfigtranslationImportingPoFile() {
}
/**
- * Test the translation are imported when a new language is created.
+ * Tests the translation are imported when a new language is created.
*/
public function testCreatedLanguageTranslation() {
// Import a .po file to add de language.
diff --git a/core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php b/core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php
index a3d9582d5a..dbdf2f986c 100644
--- a/core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php
@@ -48,7 +48,7 @@ public function testCircularDependency() {
}
/**
- * Test language fallback defaults.
+ * Tests language fallback defaults.
*/
public function testLanguageFallbackDefaults() {
$this->drupalGet('');
@@ -62,7 +62,7 @@ public function testLanguageFallbackDefaults() {
}
/**
- * Test old plural style @count[number] fix.
+ * Tests old plural style @count[number] fix.
*
* @dataProvider providerTestFixOldPluralStyle
*/
diff --git a/core/modules/locale/tests/src/Functional/LocalePathTest.php b/core/modules/locale/tests/src/Functional/LocalePathTest.php
index e1fbc15194..a48c69f505 100644
--- a/core/modules/locale/tests/src/Functional/LocalePathTest.php
+++ b/core/modules/locale/tests/src/Functional/LocalePathTest.php
@@ -40,7 +40,7 @@ protected function setUp(): void {
}
/**
- * Test if a language can be associated with a path alias.
+ * Tests if a language can be associated with a path alias.
*/
public function testPathLanguageConfiguration() {
// User to add and remove language.
diff --git a/core/modules/locale/tests/src/Kernel/LocaleStringTest.php b/core/modules/locale/tests/src/Kernel/LocaleStringTest.php
index b54b33b55d..2e44849c99 100644
--- a/core/modules/locale/tests/src/Kernel/LocaleStringTest.php
+++ b/core/modules/locale/tests/src/Kernel/LocaleStringTest.php
@@ -48,7 +48,7 @@ protected function setUp(): void {
}
/**
- * Test CRUD API.
+ * Tests CRUD API.
*/
public function testStringCrudApi() {
// Create source string.
@@ -119,7 +119,7 @@ public function testStringCrudApi() {
}
/**
- * Test Search API loading multiple objects.
+ * Tests Search API loading multiple objects.
*/
public function testStringSearchApi() {
$language_count = 3;
diff --git a/core/modules/media/tests/src/Functional/MediaAccessTest.php b/core/modules/media/tests/src/Functional/MediaAccessTest.php
index ae604fcfb5..7d520aa185 100644
--- a/core/modules/media/tests/src/Functional/MediaAccessTest.php
+++ b/core/modules/media/tests/src/Functional/MediaAccessTest.php
@@ -41,7 +41,7 @@ protected function setUp(): void {
}
/**
- * Test some access control functionality.
+ * Tests some access control functionality.
*/
public function testMediaAccess() {
$assert_session = $this->assertSession();
@@ -193,7 +193,7 @@ public function testMediaAccess() {
}
/**
- * Test view access control on the canonical page.
+ * Tests view access control on the canonical page.
*/
public function testCanonicalMediaAccess() {
$media_type = $this->createMediaType('test');
diff --git a/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php b/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
index 646d4d2f10..ce6146cde5 100644
--- a/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
+++ b/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
@@ -27,7 +27,7 @@ protected function setUp(): void {
}
/**
- * Test that the Media overview page (/admin/content/media).
+ * Tests that the Media overview page (/admin/content/media).
*/
public function testMediaOverviewPage() {
$assert_session = $this->assertSession();
diff --git a/core/modules/media/tests/src/Functional/MediaSettingsTest.php b/core/modules/media/tests/src/Functional/MediaSettingsTest.php
index f5a72f7c59..64b85db250 100644
--- a/core/modules/media/tests/src/Functional/MediaSettingsTest.php
+++ b/core/modules/media/tests/src/Functional/MediaSettingsTest.php
@@ -23,7 +23,7 @@ protected function setUp(): void {
}
/**
- * Test that media warning appears if oEmbed media types exists.
+ * Tests that media warning appears if oEmbed media types exists.
*/
public function testStatusPage() {
$assert_session = $this->assertSession();
diff --git a/core/modules/media/tests/src/Functional/MediaSourceFileTest.php b/core/modules/media/tests/src/Functional/MediaSourceFileTest.php
index 55fb9276f3..09fb9f4168 100644
--- a/core/modules/media/tests/src/Functional/MediaSourceFileTest.php
+++ b/core/modules/media/tests/src/Functional/MediaSourceFileTest.php
@@ -17,7 +17,7 @@ class MediaSourceFileTest extends MediaFunctionalTestBase {
protected $defaultTheme = 'stark';
/**
- * Test that it's possible to change the allowed file extensions.
+ * Tests that it's possible to change the allowed file extensions.
*/
public function testSourceFieldSettingsEditing() {
$session = $this->getSession();
diff --git a/core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php b/core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
index 34c342a024..934d0ae4f5 100644
--- a/core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
+++ b/core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
@@ -170,7 +170,7 @@ public function testMediaWithMultipleMediaTypes() {
}
/**
- * Test that media in ER fields use the Rendered Entity formatter by default.
+ * Tests that media in ER fields use the Rendered Entity formatter by default.
*/
public function testRenderedEntityReferencedMedia() {
$page = $this->getSession()->getPage();
@@ -535,7 +535,7 @@ protected function assertNoHelpLink(NodeElement $element, $text) {
}
/**
- * Test the media collection route.
+ * Tests the media collection route.
*/
public function testMediaCollectionRoute() {
/** @var \Drupal\Core\Entity\EntityStorageInterface $media_storage */
diff --git a/core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php b/core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php
index 8e5fb85017..cc27e8ff49 100644
--- a/core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php
+++ b/core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php
@@ -484,7 +484,7 @@ public function testEditableCaption() {
}
/**
- * Test the EditorMediaDialog's form elements' #access logic.
+ * Tests the EditorMediaDialog's form elements' #access logic.
*/
public function testDialogAccess() {
$page = $this->getSession()->getPage();
@@ -744,7 +744,7 @@ public function testAlt() {
}
/**
- * Test that dialog loads appropriate translation's alt text.
+ * Tests that dialog loads appropriate translation's alt text.
*/
public function testTranslationAlt() {
\Drupal::service('module_installer')->install(['language', 'content_translation']);
diff --git a/core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php b/core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php
index c0b25dfa26..9f514c1dcd 100644
--- a/core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php
+++ b/core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php
@@ -46,7 +46,7 @@ protected function setUp(): void {
}
/**
- * Test basic media display.
+ * Tests basic media display.
*/
public function testMediaDisplay() {
$assert_session = $this->assertSession();
diff --git a/core/modules/media/tests/src/FunctionalJavascript/MediaReferenceFieldHelpTest.php b/core/modules/media/tests/src/FunctionalJavascript/MediaReferenceFieldHelpTest.php
index c817c790b0..74d4237bfd 100644
--- a/core/modules/media/tests/src/FunctionalJavascript/MediaReferenceFieldHelpTest.php
+++ b/core/modules/media/tests/src/FunctionalJavascript/MediaReferenceFieldHelpTest.php
@@ -17,7 +17,7 @@ class MediaReferenceFieldHelpTest extends MediaJavascriptTestBase {
protected $defaultTheme = 'stark';
/**
- * Test our custom help texts when creating a field.
+ * Tests our custom help texts when creating a field.
*
* @see media_form_field_ui_field_storage_add_form_alter()
*/
diff --git a/core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php b/core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php
index ae9ab1416a..d2ae64a5f2 100644
--- a/core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php
+++ b/core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php
@@ -198,7 +198,7 @@ public function testMediaOEmbedVideoSource() {
}
/**
- * Test that a security warning appears if iFrame domain is not set.
+ * Tests that a security warning appears if iFrame domain is not set.
*/
public function testOEmbedSecurityWarning() {
$media_type_id = 'test_media_oembed_type';
diff --git a/core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php b/core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php
index 8b28129c4f..be926347c3 100644
--- a/core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php
+++ b/core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php
@@ -105,7 +105,7 @@ protected function hideMediaTypeFieldWidget($field_name, $media_type_id) {
}
/**
- * Test generic media type creation.
+ * Tests generic media type creation.
*
* @param string $media_type_id
* The media type config entity ID.
diff --git a/core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php b/core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
index e3293b591e..6532802857 100644
--- a/core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
+++ b/core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
@@ -93,7 +93,7 @@ public function testMediaSources() {
}
/**
- * Test the standard profile configuration for media type 'audio'.
+ * Tests the standard profile configuration for media type 'audio'.
*/
protected function audioTest() {
$assert_session = $this->assertSession();
@@ -184,7 +184,7 @@ protected function audioTest() {
}
/**
- * Test the standard profile configuration for media type 'image'.
+ * Tests the standard profile configuration for media type 'image'.
*/
protected function imageTest() {
$assert_session = $this->assertSession();
@@ -277,7 +277,7 @@ protected function imageTest() {
}
/**
- * Test the standard profile configuration for media type 'document'.
+ * Tests the standard profile configuration for media type 'document'.
*/
protected function documentTest() {
$assert_session = $this->assertSession();
@@ -366,7 +366,7 @@ protected function documentTest() {
}
/**
- * Test the standard profile configuration for media type 'remote_video'.
+ * Tests the standard profile configuration for media type 'remote_video'.
*/
protected function remoteVideoTest() {
$assert_session = $this->assertSession();
@@ -460,7 +460,7 @@ protected function remoteVideoTest() {
}
/**
- * Test the standard profile configuration for media type 'video'.
+ * Tests the standard profile configuration for media type 'video'.
*/
protected function videoTest() {
$assert_session = $this->assertSession();
diff --git a/core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php b/core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php
index a36d263a78..898ecfa4a9 100644
--- a/core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php
+++ b/core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php
@@ -134,7 +134,7 @@ public function testMediaTypeCreationFormWithDefaultField() {
}
/**
- * Test creation of media type, reusing an existing source field.
+ * Tests creation of media type, reusing an existing source field.
*/
public function testMediaTypeCreationReuseSourceField() {
$session = $this->getSession();
diff --git a/core/modules/media/tests/src/Kernel/MediaTranslationTest.php b/core/modules/media/tests/src/Kernel/MediaTranslationTest.php
index 64b9fcae08..c14863b476 100644
--- a/core/modules/media/tests/src/Kernel/MediaTranslationTest.php
+++ b/core/modules/media/tests/src/Kernel/MediaTranslationTest.php
@@ -49,7 +49,7 @@ protected function setUp(): void {
}
/**
- * Test translatable fields storage/retrieval.
+ * Tests translatable fields storage/retrieval.
*/
public function testTranslatableFieldSaveLoad() {
/** @var \Drupal\Core\Entity\EntityTypeInterface $entity_type */
diff --git a/core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php b/core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php
index c166baa017..cb284610fa 100644
--- a/core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php
+++ b/core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php
@@ -90,7 +90,7 @@ protected function setUp(): void {
}
/**
- * Test media inside another widget that validates too enthusiastically.
+ * Tests media inside another widget that validates too enthusiastically.
*
* @dataProvider insertionReselectionProvider
*/
diff --git a/core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php b/core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
index 4f9ef4e7d5..dc159ea43a 100644
--- a/core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
+++ b/core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
@@ -365,7 +365,7 @@ public function testOpenerParameters() {
}
/**
- * Test that hash is unaffected by allowed media type order.
+ * Tests that hash is unaffected by allowed media type order.
*/
public function testHashUnaffectedByMediaTypeOrder() {
$state1 = MediaLibraryState::create('test', ['file', 'image'], 'image', 2);
@@ -374,7 +374,7 @@ public function testHashUnaffectedByMediaTypeOrder() {
}
/**
- * Test that hash is unaffected by opener parameter order.
+ * Tests that hash is unaffected by opener parameter order.
*/
public function testHashUnaffectedByOpenerParamOrder() {
$state1 = MediaLibraryState::create('test', ['file'], 'file', -1, [
diff --git a/core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php b/core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php
index 76dd96375c..cb15b3886e 100644
--- a/core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php
+++ b/core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php
@@ -198,7 +198,7 @@ public function testMenuLinkOnEntityDelete() {
}
/**
- * Test automatic reparenting of menu links.
+ * Tests automatic reparenting of menu links.
*/
public function testMenuLinkReparenting($module = 'menu_test') {
// Check the initial hierarchy.
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuLinkReorderTest.php b/core/modules/menu_ui/tests/src/Functional/MenuLinkReorderTest.php
index f1107575bd..d9ab1a75ee 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuLinkReorderTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuLinkReorderTest.php
@@ -31,7 +31,7 @@ class MenuLinkReorderTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test creating, editing, deleting menu links via node form widget.
+ * Tests creating, editing, deleting menu links via node form widget.
*/
public function testDefaultMenuLinkReorder() {
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php b/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php
index 25b4bb5c8a..00998518d1 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php
@@ -65,7 +65,7 @@ protected function setUp(): void {
}
/**
- * Test creating, editing, deleting menu links via node form widget.
+ * Tests creating, editing, deleting menu links via node form widget.
*/
public function testMenuNodeFormWidget() {
// Verify that cacheability metadata is bubbled from the menu link tree
diff --git a/core/modules/menu_ui/tests/src/Functional/MenuUiTest.php b/core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
index 42f4913c85..ae2f973225 100644
--- a/core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
+++ b/core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
@@ -871,7 +871,7 @@ public function testMenuParentsJsAccess() {
}
/**
- * Test the "expand all items" feature.
+ * Tests the "expand all items" feature.
*/
public function testExpandAllItems() {
$this->drupalLogin($this->adminUser);
@@ -994,7 +994,7 @@ protected function doTestMenuBlock() {
}
/**
- * Test that menu links with pending revisions can not be re-parented.
+ * Tests that menu links with pending revisions can not be re-parented.
*/
public function testMenuUiWithPendingRevisions() {
$this->drupalLogin($this->adminUser);
diff --git a/core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php b/core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php
index 3e7c683060..b270221575 100644
--- a/core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php
+++ b/core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php
@@ -98,7 +98,7 @@ protected function createDestination(array $configuration) {
}
/**
- * Test importing and rolling back translated entities.
+ * Tests importing and rolling back translated entities.
*/
public function testTranslated() {
// Create a destination.
diff --git a/core/modules/migrate/tests/src/Kernel/MigrateExternalTranslatedTest.php b/core/modules/migrate/tests/src/Kernel/MigrateExternalTranslatedTest.php
index 3e36b8aeb4..65ce220d2f 100644
--- a/core/modules/migrate/tests/src/Kernel/MigrateExternalTranslatedTest.php
+++ b/core/modules/migrate/tests/src/Kernel/MigrateExternalTranslatedTest.php
@@ -51,7 +51,7 @@ public function setUp(): void {
}
/**
- * Test importing and rolling back our data.
+ * Tests importing and rolling back our data.
*/
public function testMigrations() {
/** @var \Drupal\Core\Entity\ContentEntityStorageInterface $storage */
diff --git a/core/modules/migrate/tests/src/Kernel/MigrateStubTest.php b/core/modules/migrate/tests/src/Kernel/MigrateStubTest.php
index c4a5bd99c5..f99c9b2054 100644
--- a/core/modules/migrate/tests/src/Kernel/MigrateStubTest.php
+++ b/core/modules/migrate/tests/src/Kernel/MigrateStubTest.php
@@ -101,7 +101,7 @@ public function testStubWithDefaultValues() {
}
/**
- * Test invalid source id count.
+ * Tests invalid source id count.
*/
public function testInvalidSourceIdCount() {
$this->expectException(\InvalidArgumentException::class);
diff --git a/core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php b/core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php
index 63ab362657..6e111e2537 100644
--- a/core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php
+++ b/core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php
@@ -29,7 +29,7 @@ protected function setUp(): void {
}
/**
- * Test the EntityExists plugin.
+ * Tests the EntityExists plugin.
*/
public function testEntityExists() {
$user = User::create([
diff --git a/core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php b/core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php
index 85b125604c..686badc7de 100644
--- a/core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php
+++ b/core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php
@@ -19,7 +19,7 @@ class LogTest extends KernelTestBase {
protected static $modules = ['migrate'];
/**
- * Test the Log plugin.
+ * Tests the Log plugin.
*/
public function testLog() {
$plugin = \Drupal::service('plugin.manager.migrate.process')
diff --git a/core/modules/migrate/tests/src/Kernel/Plugin/MigrationPluginConfigurationTest.php b/core/modules/migrate/tests/src/Kernel/Plugin/MigrationPluginConfigurationTest.php
index 2e5a675e5d..618b548f10 100644
--- a/core/modules/migrate/tests/src/Kernel/Plugin/MigrationPluginConfigurationTest.php
+++ b/core/modules/migrate/tests/src/Kernel/Plugin/MigrationPluginConfigurationTest.php
@@ -24,7 +24,7 @@ class MigrationPluginConfigurationTest extends KernelTestBase {
];
/**
- * Test merging configuration into a plugin through the plugin manager.
+ * Tests merging configuration into a plugin through the plugin manager.
*
* @dataProvider mergeProvider
*/
diff --git a/core/modules/migrate/tests/src/Kernel/Plugin/MigrationProvidersExistTest.php b/core/modules/migrate/tests/src/Kernel/Plugin/MigrationProvidersExistTest.php
index e902607550..67138d405d 100644
--- a/core/modules/migrate/tests/src/Kernel/Plugin/MigrationProvidersExistTest.php
+++ b/core/modules/migrate/tests/src/Kernel/Plugin/MigrationProvidersExistTest.php
@@ -150,7 +150,7 @@ public function testFieldProvidersExist() {
}
/**
- * Test a missing required definition.
+ * Tests a missing required definition.
*
* @param array $definitions
* A field plugin definition.
diff --git a/core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php b/core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
index 4575db0d82..bf4ba8cd18 100644
--- a/core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
+++ b/core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
@@ -42,7 +42,7 @@ protected function setUp(): void {
}
/**
- * Test successful imports/copies.
+ * Tests successful imports/copies.
*/
public function testSuccessfulCopies() {
$file = $this->createUri(NULL, NULL, 'temporary');
@@ -75,7 +75,7 @@ public function testSuccessfulCopies() {
}
/**
- * Test successful file reuse.
+ * Tests successful file reuse.
*
* @dataProvider providerSuccessfulReuse
*
@@ -123,7 +123,7 @@ public function providerSuccessfulReuse() {
}
/**
- * Test successful moves.
+ * Tests successful moves.
*/
public function testSuccessfulMoves() {
$file_1 = $this->createUri(NULL, NULL, 'temporary');
@@ -158,7 +158,7 @@ public function testSuccessfulMoves() {
}
/**
- * Test that non-existent files throw an exception.
+ * Tests that non-existent files throw an exception.
*/
public function testNonExistentSourceFile() {
$source = '/non/existent/file';
@@ -195,7 +195,7 @@ public function testNonWritableDestination() {
}
/**
- * Test the 'rename' overwrite mode.
+ * Tests the 'rename' overwrite mode.
*/
public function testRenameFile() {
$source = $this->createUri(NULL, NULL, 'temporary');
diff --git a/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php b/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php
index b712d318b2..fc1b4bb942 100644
--- a/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php
+++ b/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php
@@ -12,7 +12,7 @@
class EventBaseTest extends UnitTestCase {
/**
- * Test getMigration method.
+ * Tests getMigration method.
*
* @covers ::__construct
* @covers ::getMigration
@@ -26,7 +26,7 @@ public function testGetMigration() {
}
/**
- * Test logging a message.
+ * Tests logging a message.
*
* @covers ::__construct
* @covers ::logMessage
diff --git a/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php b/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php
index d281433e03..89638507dd 100644
--- a/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php
+++ b/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php
@@ -12,7 +12,7 @@
class MigrateImportEventTest extends UnitTestCase {
/**
- * Test getMigration method.
+ * Tests getMigration method.
*
* @covers ::__construct
* @covers ::getMigration
@@ -25,7 +25,7 @@ public function testGetMigration() {
}
/**
- * Test logging a message.
+ * Tests logging a message.
*
* @covers ::__construct
* @covers ::logMessage
diff --git a/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php b/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php
index f42cb06e9e..ad381805b1 100644
--- a/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php
+++ b/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php
@@ -11,7 +11,7 @@
class MigratePostRowSaveEventTest extends EventBaseTest {
/**
- * Test getDestinationIdValues method.
+ * Tests getDestinationIdValues method.
*
* @covers ::__construct
* @covers ::getDestinationIdValues
@@ -25,7 +25,7 @@ public function testGetDestinationIdValues() {
}
/**
- * Test getRow method.
+ * Tests getRow method.
*
* @covers ::__construct
* @covers ::getRow
diff --git a/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php b/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php
index f15dac1912..aee14e5bbb 100644
--- a/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php
+++ b/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php
@@ -11,7 +11,7 @@
class MigratePreRowSaveEventTest extends EventBaseTest {
/**
- * Test getRow method.
+ * Tests getRow method.
*
* @covers ::__construct
* @covers ::getRow
diff --git a/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php b/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
index 466786cfcc..ca1b04274f 100644
--- a/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
+++ b/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
@@ -161,7 +161,7 @@ public function testHighwaterTrackChangesIncompatible() {
}
/**
- * Test that the source count is correct.
+ * Tests that the source count is correct.
*
* @covers ::count
*/
@@ -199,7 +199,7 @@ public function testCount() {
}
/**
- * Test that the key can be set for the count cache.
+ * Tests that the key can be set for the count cache.
*
* @covers ::count
*/
@@ -218,7 +218,7 @@ public function testCountCacheKey() {
}
/**
- * Test that we don't get a row if prepareRow() is false.
+ * Tests that we don't get a row if prepareRow() is false.
*/
public function testPrepareRowFalse() {
$source = $this->getSource([], ['prepare_row_false' => TRUE]);
@@ -228,7 +228,7 @@ public function testPrepareRowFalse() {
}
/**
- * Test that $row->needsUpdate() works as expected.
+ * Tests that $row->needsUpdate() works as expected.
*/
public function testNextNeedsUpdate() {
$source = $this->getSource();
@@ -244,7 +244,7 @@ public function testNextNeedsUpdate() {
}
/**
- * Test that an outdated highwater mark does not cause a row to be imported.
+ * Tests that an outdated highwater mark does not cause a row to be imported.
*/
public function testOutdatedHighwater() {
$configuration = [
@@ -261,7 +261,7 @@ public function testOutdatedHighwater() {
}
/**
- * Test that a highwater mark newer than our saved one imports a row.
+ * Tests that a highwater mark newer than our saved one imports a row.
*
* @throws \Exception
*/
@@ -280,7 +280,7 @@ public function testNewHighwater() {
}
/**
- * Test basic row preparation.
+ * Tests basic row preparation.
*
* @covers ::prepareRow
*/
@@ -323,7 +323,7 @@ public function testPrepareRow() {
}
/**
- * Test that global prepare hooks can skip rows.
+ * Tests that global prepare hooks can skip rows.
*
* @covers ::prepareRow
*/
@@ -352,7 +352,7 @@ public function testPrepareRowGlobalPrepareSkip() {
}
/**
- * Test that migrate specific prepare hooks can skip rows.
+ * Tests that migrate specific prepare hooks can skip rows.
*
* @covers ::prepareRow
*/
@@ -381,7 +381,7 @@ public function testPrepareRowMigratePrepareSkip() {
}
/**
- * Test that a skip exception during prepare hooks correctly skips.
+ * Tests that a skip exception during prepare hooks correctly skips.
*
* @covers ::prepareRow
*/
@@ -418,7 +418,7 @@ public function testPrepareRowPrepareException() {
}
/**
- * Test that cacheCounts, skipCount, trackChanges preserve their default
+ * Tests that cacheCounts, skipCount, trackChanges preserve their default
* values.
*/
public function testDefaultPropertiesValues() {
diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php
index 3a4d12ef4e..7ea3ea10f3 100644
--- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php
+++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php
@@ -23,7 +23,7 @@
class EntityContentBaseTest extends EntityTestBase {
/**
- * Test basic entity save.
+ * Tests basic entity save.
*
* @covers ::import
*/
@@ -52,7 +52,7 @@ public function testImport() {
}
/**
- * Test row skipping when we can't get an entity to save.
+ * Tests row skipping when we can't get an entity to save.
*
* @covers ::import
*/
@@ -71,7 +71,7 @@ public function testImportEntityLoadFailure() {
}
/**
- * Test that translation destination fails for untranslatable entities.
+ * Tests that translation destination fails for untranslatable entities.
*/
public function testUntranslatable() {
// An entity type without a language.
diff --git a/core/modules/migrate/tests/src/Unit/RowTest.php b/core/modules/migrate/tests/src/Unit/RowTest.php
index 4161900784..59751ed162 100644
--- a/core/modules/migrate/tests/src/Unit/RowTest.php
+++ b/core/modules/migrate/tests/src/Unit/RowTest.php
@@ -310,7 +310,7 @@ public function testMultipleDestination() {
}
/**
- * Test getting source and destination properties.
+ * Tests getting source and destination properties.
*
* @param string $key
* The key to look up.
@@ -354,7 +354,7 @@ public function getDataProvider() {
}
/**
- * Test getting multiple source and destination properties.
+ * Tests getting multiple source and destination properties.
*
* @param array $keys
* An array of keys to look up.
diff --git a/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php b/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php
index b6fd292d4b..d85d3d5fce 100644
--- a/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php
+++ b/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php
@@ -13,7 +13,7 @@
class ConfigTest extends UnitTestCase {
/**
- * Test the import method.
+ * Tests the import method.
*/
public function testImport() {
$source = [
@@ -60,7 +60,7 @@ public function testImport() {
}
/**
- * Test the import method.
+ * Tests the import method.
*/
public function testLanguageImport() {
$source = [
diff --git a/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php b/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
index 47fd3096aa..28ec125193 100644
--- a/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
+++ b/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
@@ -60,7 +60,7 @@ protected function setUp(): void {
}
/**
- * Test that passed old destination values are used by default.
+ * Tests that passed old destination values are used by default.
*
* @covers ::getEntity
*/
@@ -78,7 +78,7 @@ public function testGetEntityDestinationValues() {
}
/**
- * Test that revision updates update.
+ * Tests that revision updates update.
*
* @covers ::getEntity
*/
@@ -105,7 +105,7 @@ public function testGetEntityUpdateRevision() {
}
/**
- * Test that new revisions are flagged to be written as new.
+ * Tests that new revisions are flagged to be written as new.
*
* @covers ::getEntity
*/
@@ -135,7 +135,7 @@ public function testGetEntityNewRevision() {
}
/**
- * Test entity load failure.
+ * Tests entity load failure.
*
* @covers ::getEntity
*/
@@ -158,7 +158,7 @@ public function testGetEntityLoadFailure() {
}
/**
- * Test entity revision save.
+ * Tests entity revision save.
*
* @covers ::save
*/
diff --git a/core/modules/migrate/tests/src/Unit/process/CallbackTest.php b/core/modules/migrate/tests/src/Unit/process/CallbackTest.php
index 260e9a7a20..70b5e3a613 100644
--- a/core/modules/migrate/tests/src/Unit/process/CallbackTest.php
+++ b/core/modules/migrate/tests/src/Unit/process/CallbackTest.php
@@ -12,7 +12,7 @@
class CallbackTest extends MigrateProcessTestCase {
/**
- * Test callback with valid "callable".
+ * Tests callback with valid "callable".
*
* @dataProvider providerCallback
*/
@@ -34,7 +34,7 @@ public function providerCallback() {
}
/**
- * Test callback exceptions.
+ * Tests callback exceptions.
*
* @dataProvider providerCallbackExceptions
*/
diff --git a/core/modules/migrate/tests/src/Unit/process/ConcatTest.php b/core/modules/migrate/tests/src/Unit/process/ConcatTest.php
index 3d41c90209..82aa9db833 100644
--- a/core/modules/migrate/tests/src/Unit/process/ConcatTest.php
+++ b/core/modules/migrate/tests/src/Unit/process/ConcatTest.php
@@ -26,7 +26,7 @@ protected function setUp(): void {
}
/**
- * Test concat works without a delimiter.
+ * Tests concat works without a delimiter.
*/
public function testConcatWithoutDelimiter() {
$value = $this->plugin->transform(['foo', 'bar'], $this->migrateExecutable, $this->row, 'destinationproperty');
@@ -34,7 +34,7 @@ public function testConcatWithoutDelimiter() {
}
/**
- * Test concat fails properly on non-arrays.
+ * Tests concat fails properly on non-arrays.
*/
public function testConcatWithNonArray() {
$this->expectException(MigrateException::class);
@@ -42,7 +42,7 @@ public function testConcatWithNonArray() {
}
/**
- * Test concat works without a delimiter.
+ * Tests concat works without a delimiter.
*/
public function testConcatWithDelimiter() {
$this->plugin->setDelimiter('_');
diff --git a/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php b/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php
index 1267d68d76..38b63d30a7 100644
--- a/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php
+++ b/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php
@@ -25,7 +25,7 @@ protected function setUp(): void {
}
/**
- * Test explode transform process works.
+ * Tests explode transform process works.
*/
public function testTransform() {
$value = $this->plugin->transform('foo,bar,tik', $this->migrateExecutable, $this->row, 'destinationproperty');
@@ -33,7 +33,7 @@ public function testTransform() {
}
/**
- * Test explode transform process works with a limit.
+ * Tests explode transform process works with a limit.
*/
public function testTransformLimit() {
$plugin = new Explode(['delimiter' => '_', 'limit' => 2], 'map', []);
@@ -42,7 +42,7 @@ public function testTransformLimit() {
}
/**
- * Test if the explode process can be chained with a handles_multiple process.
+ * Tests if the explode process can be chained with handles_multiple process.
*/
public function testChainedTransform() {
$exploded = $this->plugin->transform('foo,bar,tik', $this->migrateExecutable, $this->row, 'destinationproperty');
@@ -53,7 +53,7 @@ public function testChainedTransform() {
}
/**
- * Test explode fails properly on non-strings.
+ * Tests explode fails properly on non-strings.
*/
public function testExplodeWithNonString() {
$this->expectException(MigrateException::class);
@@ -111,7 +111,7 @@ public function testExplodeWithStrictAndEmptyString() {
}
/**
- * Test explode fails with empty delimiter.
+ * Tests explode fails with empty delimiter.
*/
public function testExplodeWithEmptyDelimiter() {
$this->expectException(MigrateException::class);
diff --git a/core/modules/migrate/tests/src/Unit/process/FlattenTest.php b/core/modules/migrate/tests/src/Unit/process/FlattenTest.php
index 496cf92216..e02874d0ee 100644
--- a/core/modules/migrate/tests/src/Unit/process/FlattenTest.php
+++ b/core/modules/migrate/tests/src/Unit/process/FlattenTest.php
@@ -12,7 +12,7 @@
class FlattenTest extends MigrateProcessTestCase {
/**
- * Test that various array flatten operations work properly.
+ * Tests that various array flatten operations work properly.
*/
public function testFlatten() {
$plugin = new Flatten([], 'flatten', []);
diff --git a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php
index 6ecda3008d..8f07700f6a 100644
--- a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php
+++ b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php
@@ -101,7 +101,7 @@ public function skipInvalidDataProvider() {
}
/**
- * Test that valid, but technically empty values are not skipped.
+ * Tests that valid, but technically empty values are not skipped.
*
* @param mixed $value
* A valid value.
diff --git a/core/modules/migrate_drupal/src/Tests/StubTestTrait.php b/core/modules/migrate_drupal/src/Tests/StubTestTrait.php
index ff42094884..de95dd0750 100644
--- a/core/modules/migrate_drupal/src/Tests/StubTestTrait.php
+++ b/core/modules/migrate_drupal/src/Tests/StubTestTrait.php
@@ -10,7 +10,7 @@
trait StubTestTrait {
/**
- * Test that creating a stub of the given entity type results in a valid
+ * Tests that creating a stub of the given entity type results in a valid
* entity.
*
* @param string $entity_type_id
diff --git a/core/modules/migrate_drupal/tests/src/Kernel/IdMapTableNoDummyTest.php b/core/modules/migrate_drupal/tests/src/Kernel/IdMapTableNoDummyTest.php
index f784be0abc..6a3ff44f03 100644
--- a/core/modules/migrate_drupal/tests/src/Kernel/IdMapTableNoDummyTest.php
+++ b/core/modules/migrate_drupal/tests/src/Kernel/IdMapTableNoDummyTest.php
@@ -28,7 +28,7 @@ public function setUp(): void {
}
/**
- * Test that dummy map tables do not exist.
+ * Tests that dummy map tables do not exist.
*/
public function testNoDummyTables() {
$database = \Drupal::database();
diff --git a/core/modules/migrate_drupal/tests/src/Kernel/d6/EntityContentBaseTest.php b/core/modules/migrate_drupal/tests/src/Kernel/d6/EntityContentBaseTest.php
index 89d32c1fe4..3eec0d69ae 100644
--- a/core/modules/migrate_drupal/tests/src/Kernel/d6/EntityContentBaseTest.php
+++ b/core/modules/migrate_drupal/tests/src/Kernel/d6/EntityContentBaseTest.php
@@ -89,7 +89,7 @@ public function testOverwriteProperties() {
}
/**
- * Test that translation destination fails for untranslatable entities.
+ * Tests that translation destination fails for untranslatable entities.
*/
public function testUntranslatable() {
$this->enableModules(['language_test']);
diff --git a/core/modules/migrate_drupal/tests/src/Kernel/d6/FollowUpMigrationsTest.php b/core/modules/migrate_drupal/tests/src/Kernel/d6/FollowUpMigrationsTest.php
index 7a2c6c1b2a..aebafb0d27 100644
--- a/core/modules/migrate_drupal/tests/src/Kernel/d6/FollowUpMigrationsTest.php
+++ b/core/modules/migrate_drupal/tests/src/Kernel/d6/FollowUpMigrationsTest.php
@@ -37,7 +37,7 @@ protected function setUp(): void {
}
/**
- * Test entity reference translations.
+ * Tests entity reference translations.
*/
public function testEntityReferenceTranslations() {
// Test the entity reference field before the follow-up migrations.
diff --git a/core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php b/core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php
index cc0b309566..ed52cfb87a 100644
--- a/core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php
+++ b/core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php
@@ -68,7 +68,7 @@ protected function getFileMigrationInfo() {
}
/**
- * Test entity reference translations.
+ * Tests entity reference translations.
*/
public function testEntityReferenceTranslations() {
// Test the entity reference field before the follow-up migrations.
diff --git a/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php b/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php
index ea6dc3db8a..a08fd83931 100644
--- a/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php
+++ b/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php
@@ -213,7 +213,7 @@ public function getBundleFieldsData() {
}
/**
- * Test the protected getCoreVersion method.
+ * Tests the protected getCoreVersion method.
*
* @param string[] $tags
* The migration tags.
diff --git a/core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php b/core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
index a896dedf59..c70f47ab1d 100644
--- a/core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
+++ b/core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php
@@ -54,7 +54,7 @@ protected function setUp(): void {
}
/**
- * Test the changed time after API and FORM save without changes.
+ * Tests the changed time after API and FORM save without changes.
*/
public function testChangedTimeAfterSaveWithoutChanges() {
$storage = $this->container->get('entity_type.manager')->getStorage('node');
diff --git a/core/modules/node/tests/src/Functional/NodeTranslationUITest.php b/core/modules/node/tests/src/Functional/NodeTranslationUITest.php
index fb7cb97a0a..36da41eed3 100644
--- a/core/modules/node/tests/src/Functional/NodeTranslationUITest.php
+++ b/core/modules/node/tests/src/Functional/NodeTranslationUITest.php
@@ -521,7 +521,7 @@ public function testRevisionTranslationRendering() {
}
/**
- * Test that title is not escaped (but XSS-filtered) for details form element.
+ * Tests title is not escaped (but XSS-filtered) for details form element.
*/
public function testDetailsTitleIsNotEscaped() {
$this->drupalLogin($this->administrator);
diff --git a/core/modules/node/tests/src/Functional/Views/BulkFormTest.php b/core/modules/node/tests/src/Functional/Views/BulkFormTest.php
index 0b28c1f844..bf5a077c69 100644
--- a/core/modules/node/tests/src/Functional/Views/BulkFormTest.php
+++ b/core/modules/node/tests/src/Functional/Views/BulkFormTest.php
@@ -219,7 +219,7 @@ public function testBulkForm() {
}
/**
- * Test multiple deletion.
+ * Tests multiple deletion.
*/
public function testBulkDeletion() {
// Select a bunch of translated and untranslated nodes and check that
diff --git a/core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php b/core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php
index 8b25fd7df6..fab39d91ba 100644
--- a/core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php
+++ b/core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php
@@ -46,7 +46,7 @@ public function setUp(): void {
}
/**
- * Test the behavior of clicking preview links.
+ * Tests the behavior of clicking preview links.
*/
public function testPreviewLinks() {
$assertSession = $this->assertSession();
diff --git a/core/modules/node/tests/src/FunctionalJavascript/TestSettingSummariesContentType.php b/core/modules/node/tests/src/FunctionalJavascript/TestSettingSummariesContentType.php
index d5cea26457..ef1d92361f 100644
--- a/core/modules/node/tests/src/FunctionalJavascript/TestSettingSummariesContentType.php
+++ b/core/modules/node/tests/src/FunctionalJavascript/TestSettingSummariesContentType.php
@@ -33,7 +33,7 @@ public function setUp(): void {
}
/**
- * Test a vertical tab 'Workflow' summary.
+ * Tests a vertical tab 'Workflow' summary.
*/
public function testWorkflowSummary() {
$this->drupalGet('admin/structure/types/manage/test');
diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php
index 9119085f1e..2794f4a616 100644
--- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php
+++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php
@@ -26,7 +26,7 @@ public function setUp(): void {
}
/**
- * Test node translation migrations with translation disabled.
+ * Tests node translation migrations with translation disabled.
*/
public function testNoTranslations() {
// Without content_translation, there should be no translation migrations.
@@ -36,7 +36,7 @@ public function testNoTranslations() {
}
/**
- * Test node translation migrations with translation enabled.
+ * Tests node translation migrations with translation enabled.
*/
public function testTranslations() {
// With content_translation, there should be translation migrations for
diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeRevisionTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeRevisionTest.php
index fb195da3e8..fad255c049 100644
--- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeRevisionTest.php
+++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeRevisionTest.php
@@ -58,7 +58,7 @@ protected function assertRevision($id, $langcode, $title, $log, $timestamp) {
}
/**
- * Test node revisions migration from Drupal 6 to 8.
+ * Tests node revisions migration from Drupal 6 to 8.
*/
public function testNodeRevision() {
$node = \Drupal::entityTypeManager()->getStorage('node')->loadRevision(2001);
diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php
index ce6cf3b363..15994b2a3e 100644
--- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php
+++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php
@@ -41,7 +41,7 @@ protected function setUp(): void {
}
/**
- * Test node migration from Drupal 6 to 8.
+ * Tests node migration from Drupal 6 to 8.
*/
public function testNode() {
// Confirm there are only classic node migration map tables. This shows
diff --git a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php
index a690112577..a9d7f41acb 100644
--- a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php
+++ b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php
@@ -17,7 +17,7 @@ class MigrateNodeDeriverTest extends MigrateDrupal7TestBase {
protected static $modules = ['node'];
/**
- * Test node translation migrations with translation disabled.
+ * Tests node translation migrations with translation disabled.
*/
public function testNoTranslations() {
// Without content_translation, there should be no translation migrations.
@@ -26,7 +26,7 @@ public function testNoTranslations() {
}
/**
- * Test node translation migrations with translation enabled.
+ * Tests node translation migrations with translation enabled.
*/
public function testTranslations() {
// With content_translation, there should be translation migrations for
diff --git a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php
index 22ac405e11..b4f25c6422 100644
--- a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php
+++ b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php
@@ -144,7 +144,7 @@ protected function assertRevision($id, $title, $uid, $log, $timestamp) {
}
/**
- * Test node migration from Drupal 7 to 8.
+ * Tests node migration from Drupal 7 to 8.
*/
public function testNode() {
// Confirm there are only classic node migration map tables. This shows
@@ -253,7 +253,7 @@ public function testNode() {
}
/**
- * Test node entity translations migration from Drupal 7 to 8.
+ * Tests node entity translations migration from Drupal 7 to 8.
*/
public function testNodeEntityTranslations() {
$manager = $this->container->get('content_translation.manager');
diff --git a/core/modules/node/tests/src/Kernel/NodeAccessTest.php b/core/modules/node/tests/src/Kernel/NodeAccessTest.php
index c983667bc7..8d6b178c7f 100644
--- a/core/modules/node/tests/src/Kernel/NodeAccessTest.php
+++ b/core/modules/node/tests/src/Kernel/NodeAccessTest.php
@@ -114,7 +114,7 @@ public function testNodeAccess() {
}
/**
- * Test operations not supported by node grants.
+ * Tests operations not supported by node grants.
*/
public function testUnsupportedOperation() {
$this->enableModules(['node_access_test_empty']);
diff --git a/core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php b/core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php
index 7794326c3f..0f54c38ec0 100644
--- a/core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php
+++ b/core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php
@@ -42,7 +42,7 @@ class NodeFieldAccessTest extends EntityKernelTestBase {
protected $readOnlyFields = ['changed', 'revision_uid', 'revision_timestamp'];
/**
- * Test permissions on nodes status field.
+ * Tests permissions on nodes status field.
*/
public function testAccessToAdministrativeFields() {
diff --git a/core/modules/node/tests/src/Kernel/NodeOwnerTest.php b/core/modules/node/tests/src/Kernel/NodeOwnerTest.php
index 2a1865da69..c683a35826 100644
--- a/core/modules/node/tests/src/Kernel/NodeOwnerTest.php
+++ b/core/modules/node/tests/src/Kernel/NodeOwnerTest.php
@@ -77,7 +77,7 @@ public function testOwner() {
}
/**
- * Test an unsaved node owner.
+ * Tests an unsaved node owner.
*/
public function testUnsavedNodeOwner() {
$user = User::create([
diff --git a/core/modules/node/tests/src/Kernel/Views/NidArgumentTest.php b/core/modules/node/tests/src/Kernel/Views/NidArgumentTest.php
index cd6689870f..2bc8bc1f01 100644
--- a/core/modules/node/tests/src/Kernel/Views/NidArgumentTest.php
+++ b/core/modules/node/tests/src/Kernel/Views/NidArgumentTest.php
@@ -48,7 +48,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test the nid argument.
+ * Tests the nid argument.
*/
public function testNidArgument() {
$view = Views::getView('test_nid_argument');
diff --git a/core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php b/core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php
index d44ec39411..bbbd521575 100644
--- a/core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php
+++ b/core/modules/options/tests/src/Functional/OptionsDynamicValuesValidationTest.php
@@ -15,7 +15,7 @@ class OptionsDynamicValuesValidationTest extends OptionsDynamicValuesTestBase {
protected $defaultTheme = 'stark';
/**
- * Test that allowed values function gets the entity.
+ * Tests that allowed values function gets the entity.
*/
public function testDynamicAllowedValues() {
// Verify that validation passes against every value we had.
diff --git a/core/modules/options/tests/src/Kernel/OptionsFieldTest.php b/core/modules/options/tests/src/Kernel/OptionsFieldTest.php
index 55d8732479..3aa8455219 100644
--- a/core/modules/options/tests/src/Kernel/OptionsFieldTest.php
+++ b/core/modules/options/tests/src/Kernel/OptionsFieldTest.php
@@ -22,7 +22,7 @@ class OptionsFieldTest extends OptionsFieldUnitTestBase {
protected static $modules = ['options'];
/**
- * Test that allowed values can be updated.
+ * Tests that allowed values can be updated.
*/
public function testUpdateAllowedValues() {
// All three options appear.
diff --git a/core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php b/core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php
index 5a0c99750c..3812010bee 100644
--- a/core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php
+++ b/core/modules/page_cache/tests/src/Functional/PageCacheTagsIntegrationTest.php
@@ -34,7 +34,7 @@ protected function setUp(): void {
}
/**
- * Test that cache tags are properly bubbled up to the page level.
+ * Tests that cache tags are properly bubbled up to the page level.
*/
public function testPageCacheTags() {
// Create two nodes.
diff --git a/core/modules/page_cache/tests/src/Functional/PageCacheTest.php b/core/modules/page_cache/tests/src/Functional/PageCacheTest.php
index b607560adc..2cef2313bc 100644
--- a/core/modules/page_cache/tests/src/Functional/PageCacheTest.php
+++ b/core/modules/page_cache/tests/src/Functional/PageCacheTest.php
@@ -47,7 +47,7 @@ protected function setUp(): void {
}
/**
- * Test that cache tags are properly persisted.
+ * Tests that cache tags are properly persisted.
*
* Since tag based invalidation works, we know that our tag properly
* persisted.
@@ -84,7 +84,7 @@ public function testPageCacheTags() {
}
/**
- * Test that the page cache doesn't depend on cacheability headers.
+ * Tests that the page cache doesn't depend on cacheability headers.
*/
public function testPageCacheTagsIndependentFromCacheabilityHeaders() {
// Disable the cacheability headers.
@@ -452,7 +452,7 @@ public function testPageCacheWithoutVaryCookie() {
}
/**
- * Test the setting of forms to be immutable.
+ * Tests the setting of forms to be immutable.
*/
public function testFormImmutability() {
// Install the module that provides the test form.
@@ -562,7 +562,7 @@ public function testHead() {
}
/**
- * Test a cacheable response with custom cache control.
+ * Tests a cacheable response with custom cache control.
*/
public function testCacheableWithCustomCacheControl() {
$config = $this->config('system.performance');
@@ -575,7 +575,7 @@ public function testCacheableWithCustomCacheControl() {
}
/**
- * Test that URLs are cached in a not normalized form.
+ * Tests that URLs are cached in a not normalized form.
*/
public function testNoUrlNormalization() {
diff --git a/core/modules/path/tests/src/Functional/PathLanguageTest.php b/core/modules/path/tests/src/Functional/PathLanguageTest.php
index c166affbdf..5b32f7750c 100644
--- a/core/modules/path/tests/src/Functional/PathLanguageTest.php
+++ b/core/modules/path/tests/src/Functional/PathLanguageTest.php
@@ -78,7 +78,7 @@ protected function setUp(): void {
}
/**
- * Test alias functionality through the admin interfaces.
+ * Tests alias functionality through the admin interfaces.
*/
public function testAliasTranslation() {
$node_storage = $this->container->get('entity_type.manager')->getStorage('node');
diff --git a/core/modules/path/tests/src/Functional/PathLanguageUiTest.php b/core/modules/path/tests/src/Functional/PathLanguageUiTest.php
index 19c832791c..732eacfbdd 100644
--- a/core/modules/path/tests/src/Functional/PathLanguageUiTest.php
+++ b/core/modules/path/tests/src/Functional/PathLanguageUiTest.php
@@ -86,7 +86,7 @@ public function testNonDefaultUrl() {
}
/**
- * Test that language unspecific aliases are shown and saved in the node form.
+ * Tests language unspecific aliases are shown and saved in the node form.
*/
public function testNotSpecifiedNode() {
// Create test node.
diff --git a/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php b/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php
index 974cfd54e0..923561a9e7 100644
--- a/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php
+++ b/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php
@@ -67,7 +67,7 @@ private function assertPath($pid, $conditions, PathAliasInterface $path_alias) {
}
/**
- * Test the url alias migration.
+ * Tests the url alias migration.
*/
public function testUrlAlias() {
$id_map = $this->getMigration('d6_url_alias')->getIdMap();
@@ -125,7 +125,7 @@ public function testUrlAlias() {
}
/**
- * Test the URL alias migration with translated nodes.
+ * Tests the URL alias migration with translated nodes.
*/
public function testUrlAliasWithTranslatedNodes() {
// Alias for the 'The Real McCoy' node in English.
diff --git a/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php b/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php
index a73d0e5d39..e29d74b961 100644
--- a/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php
+++ b/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php
@@ -30,7 +30,7 @@ protected function setUp(): void {
}
/**
- * Test the URL alias migration with translated nodes.
+ * Tests the URL alias migration with translated nodes.
*/
public function testUrlAliasWithTranslatedNodes() {
// Alias for the 'The thing about Deep Space 9' node in English.
diff --git a/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTestBase.php b/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTestBase.php
index c1271fd68e..9822171734 100644
--- a/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTestBase.php
+++ b/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTestBase.php
@@ -46,7 +46,7 @@ protected function setUp() {
}
/**
- * Test the URL alias migration.
+ * Tests the URL alias migration.
*/
public function testUrlAlias() {
$path_alias = $this->loadPathAliasByConditions([
diff --git a/core/modules/path/tests/src/Kernel/PathItemTest.php b/core/modules/path/tests/src/Kernel/PathItemTest.php
index 9299d56383..4a39c7176f 100644
--- a/core/modules/path/tests/src/Kernel/PathItemTest.php
+++ b/core/modules/path/tests/src/Kernel/PathItemTest.php
@@ -49,7 +49,7 @@ protected function setUp(): void {
}
/**
- * Test creating, loading, updating and deleting aliases through PathItem.
+ * Tests creating, loading, updating and deleting aliases through PathItem.
*/
public function testPathItem() {
/** @var \Drupal\path_alias\AliasRepositoryInterface $alias_repository */
diff --git a/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php b/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
index 835f034b1d..76777bb2e3 100644
--- a/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
+++ b/core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
@@ -31,7 +31,7 @@ class UrlAlterFunctionalTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test that URL altering works and that it occurs in the correct order.
+ * Tests that URL altering works and that it occurs in the correct order.
*/
public function testUrlAlter() {
// Ensure that the path_alias table exists after Drupal installation.
diff --git a/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php b/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php
index ee64685004..4fa3f6d93b 100644
--- a/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php
+++ b/core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php
@@ -120,7 +120,7 @@ protected function setUp(): void {
}
/**
- * Test the loading of Quick Edit with different permissions.
+ * Tests the loading of Quick Edit with different permissions.
*/
public function testUserPermissions() {
$assert = $this->assertSession();
@@ -182,7 +182,7 @@ public function testUserPermissions() {
}
/**
- * Test Quick Edit does not appear for entities with pending revisions.
+ * Tests Quick Edit does not appear for entities with pending revisions.
*/
public function testWithPendingRevision() {
$this->drupalLogin($this->editorUser);
diff --git a/core/modules/rdf/tests/src/Kernel/CrudTest.php b/core/modules/rdf/tests/src/Kernel/CrudTest.php
index d697a817d5..c5ecd27258 100644
--- a/core/modules/rdf/tests/src/Kernel/CrudTest.php
+++ b/core/modules/rdf/tests/src/Kernel/CrudTest.php
@@ -53,7 +53,7 @@ public function testMappingCreation() {
}
/**
- * Test the handling of bundle mappings.
+ * Tests the handling of bundle mappings.
*/
public function testBundleMapping() {
// Test that the bundle mapping can be saved.
@@ -76,7 +76,7 @@ public function testBundleMapping() {
}
/**
- * Test the handling of field mappings.
+ * Tests the handling of field mappings.
*/
public function testFieldMapping() {
$field_name = 'created';
diff --git a/core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php b/core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php
index f7efa34502..17c1ca57d1 100644
--- a/core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php
+++ b/core/modules/rdf/tests/src/Kernel/RdfaAttributesTest.php
@@ -19,7 +19,7 @@ class RdfaAttributesTest extends KernelTestBase {
protected static $modules = ['rdf'];
/**
- * Test attribute creation for mappings which use 'property'.
+ * Tests attribute creation for mappings which use 'property'.
*/
public function testProperty() {
$properties = ['dc:title'];
@@ -31,7 +31,7 @@ public function testProperty() {
}
/**
- * Test attribute creation for mappings which use 'datatype'.
+ * Tests attribute creation for mappings which use 'datatype'.
*/
public function testDatatype() {
$properties = ['foo:bar1'];
@@ -50,7 +50,7 @@ public function testDatatype() {
}
/**
- * Test attribute creation for mappings which override human-readable content.
+ * Tests attribute creation for mappings that override human-readable content.
*/
public function testDatatypeCallback() {
$properties = ['dc:created'];
@@ -74,7 +74,7 @@ public function testDatatypeCallback() {
}
/**
- * Test attribute creation for mappings which use data converters.
+ * Tests attribute creation for mappings which use data converters.
*/
public function testDatatypeCallbackWithConverter() {
$properties = ['schema:interactionCount'];
@@ -98,7 +98,7 @@ public function testDatatypeCallbackWithConverter() {
}
/**
- * Test attribute creation for mappings which use 'rel'.
+ * Tests attribute creation for mappings which use 'rel'.
*/
public function testRel() {
$properties = ['sioc:has_creator', 'dc:creator'];
diff --git a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php
index 23d285d319..3e7b50f25c 100644
--- a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php
+++ b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageAdminUITest.php
@@ -39,7 +39,7 @@ protected function setUp(): void {
}
/**
- * Test responsive image administration functionality.
+ * Tests responsive image administration functionality.
*/
public function testResponsiveImageAdmin() {
// We start without any default styles.
diff --git a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
index 425fc87e86..aff4119f8e 100644
--- a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
+++ b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
@@ -95,7 +95,7 @@ public function testResponsiveImageFieldFormattersPrivate() {
}
/**
- * Test responsive image formatters when image style is empty.
+ * Tests responsive image formatters when image style is empty.
*/
public function testResponsiveImageFieldFormattersEmptyStyle() {
$this->addTestImageStyleMappings(TRUE);
@@ -166,7 +166,7 @@ protected function addTestImageStyleMappings($empty_styles = FALSE) {
}
/**
- * Test responsive image formatters on node display.
+ * Tests responsive image formatters on node display.
*
* If the empty styles param is set, then the function only tests for the
* fallback image style (large).
diff --git a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
index 85881bfb8b..e739ea3658 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
@@ -421,7 +421,7 @@ protected function getExpectedCacheContexts() {
}
/**
- * Test a GET request for an entity, plus edge cases to ensure good DX.
+ * Tests a GET request for an entity, plus edge cases to ensure good DX.
*/
public function testGet() {
$this->initAuthentication();
diff --git a/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php b/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
index ddc463c907..7695ab8e59 100644
--- a/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
+++ b/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
@@ -444,7 +444,7 @@ public function testResponseFormatConfiguration() {
}
/**
- * Test the field ID alias functionality of the DataFieldRow plugin.
+ * Tests the field ID alias functionality of the DataFieldRow plugin.
*/
public function testUIFieldAlias() {
$this->drupalLogin($this->adminUser);
@@ -835,7 +835,7 @@ public function testRestViewExposedFilter() {
}
/**
- * Test multilingual entity rows.
+ * Tests multilingual entity rows.
*/
public function testMulEntityRows() {
// Create some languages.
diff --git a/core/modules/search/tests/src/Functional/SearchBlockTest.php b/core/modules/search/tests/src/Functional/SearchBlockTest.php
index d53f6f0b7d..6a74bcee1b 100644
--- a/core/modules/search/tests/src/Functional/SearchBlockTest.php
+++ b/core/modules/search/tests/src/Functional/SearchBlockTest.php
@@ -46,7 +46,7 @@ protected function setUp(): void {
}
/**
- * Test that the search form block can be placed and works.
+ * Tests that the search form block can be placed and works.
*/
public function testSearchFormBlock() {
diff --git a/core/modules/search/tests/src/Functional/SearchRankingTest.php b/core/modules/search/tests/src/Functional/SearchRankingTest.php
index 592c951b2f..3b29516257 100644
--- a/core/modules/search/tests/src/Functional/SearchRankingTest.php
+++ b/core/modules/search/tests/src/Functional/SearchRankingTest.php
@@ -208,7 +208,7 @@ public function testRankings() {
}
/**
- * Test rankings of HTML tags.
+ * Tests rankings of HTML tags.
*/
public function testHTMLRankings() {
$full_html_format = FilterFormat::create([
diff --git a/core/modules/search/tests/src/Kernel/SearchMatchTest.php b/core/modules/search/tests/src/Kernel/SearchMatchTest.php
index 629f91bf78..2fa4b13aa5 100644
--- a/core/modules/search/tests/src/Kernel/SearchMatchTest.php
+++ b/core/modules/search/tests/src/Kernel/SearchMatchTest.php
@@ -37,7 +37,7 @@ protected function setUp(): void {
}
/**
- * Test search indexing.
+ * Tests search indexing.
*/
public function testMatching() {
$this->_setup();
@@ -218,7 +218,7 @@ public function _testQueries() {
}
/**
- * Test the matching abilities of the engine.
+ * Tests the matching abilities of the engine.
*
* Verify if a query produces the correct results.
*/
@@ -236,7 +236,7 @@ public function _testQueryMatching($query, $set, $results) {
}
/**
- * Test the scoring abilities of the engine.
+ * Tests the scoring abilities of the engine.
*
* Verify if a query produces normalized, monotonous scores.
*/
diff --git a/core/modules/serialization/tests/src/Kernel/EntityResolverTest.php b/core/modules/serialization/tests/src/Kernel/EntityResolverTest.php
index 357ef0ab74..2cb1e0f123 100644
--- a/core/modules/serialization/tests/src/Kernel/EntityResolverTest.php
+++ b/core/modules/serialization/tests/src/Kernel/EntityResolverTest.php
@@ -52,7 +52,7 @@ protected function setUp(): void {
}
/**
- * Test that fields referencing UUIDs can be denormalized.
+ * Tests that fields referencing UUIDs can be denormalized.
*/
public function testUuidEntityResolver() {
// Create an entity to get the UUID from.
diff --git a/core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php b/core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
index deb60ebe99..f1a19e5821 100644
--- a/core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
+++ b/core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
@@ -120,7 +120,7 @@ protected function setUp(): void {
}
/**
- * Test the normalize function.
+ * Tests the normalize function.
*/
public function testNormalize() {
$expected = [
@@ -203,7 +203,7 @@ public function testUserNormalize() {
}
/**
- * Test registered Serializer's entity serialization for core's formats.
+ * Tests registered Serializer's entity serialization for core's formats.
*/
public function testSerialize() {
// Test that Serializer responds using the ComplexDataNormalizer and
diff --git a/core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php b/core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php
index ce6683f0e5..6be5f12aa8 100644
--- a/core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php
+++ b/core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php
@@ -59,7 +59,7 @@ public function testMapNormalize() {
}
/**
- * Test whether map data with properties can be normalized.
+ * Tests whether map data with properties can be normalized.
*/
public function testMapWithPropertiesNormalize() {
$typed_data = $this->buildExampleTypedDataWithProperties();
diff --git a/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php b/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php
index 78ee233432..2a9dd5b68d 100644
--- a/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php
+++ b/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php
@@ -41,7 +41,7 @@ protected function setUp(): void {
}
/**
- * Test the resolve method with no matching resolvers.
+ * Tests the resolve method with no matching resolvers.
*
* @covers ::__construct
* @covers ::resolve
@@ -58,7 +58,7 @@ public function testResolverWithNoneResolved() {
}
/**
- * Test the resolve method with no matching resolvers, using addResolver.
+ * Tests the resolve method with no matching resolvers, using addResolver.
*
* @covers ::addResolver
* @covers ::resolve
@@ -72,7 +72,7 @@ public function testResolverWithNoneResolvedUsingAddResolver() {
}
/**
- * Test the resolve method with a matching resolver first.
+ * Tests the resolve method with a matching resolver first.
*
* @covers ::__construct
* @covers ::resolve
@@ -89,7 +89,7 @@ public function testResolverWithFirstResolved() {
}
/**
- * Test the resolve method with a matching resolver last.
+ * Tests the resolve method with a matching resolver last.
*
* @covers ::__construct
* @covers ::resolve
@@ -106,7 +106,7 @@ public function testResolverWithLastResolved() {
}
/**
- * Test the resolve method where one resolver returns 0.
+ * Tests the resolve method where one resolver returns 0.
*
* @covers ::__construct
* @covers ::resolve
diff --git a/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php b/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php
index 4eba61c25b..9094e80609 100644
--- a/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php
+++ b/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php
@@ -36,7 +36,7 @@ protected function setUp(): void {
}
/**
- * Test resolve() with a class using the incorrect interface.
+ * Tests resolve() with a class using the incorrect interface.
*/
public function testResolveNotInInterface() {
$this->entityRepository->expects($this->never())
@@ -47,7 +47,7 @@ public function testResolveNotInInterface() {
}
/**
- * Test resolve() with a class using the correct interface but no UUID.
+ * Tests resolve() with a class using the correct interface but no UUID.
*/
public function testResolveNoUuid() {
$this->entityRepository->expects($this->never())
@@ -62,7 +62,7 @@ public function testResolveNoUuid() {
}
/**
- * Test resolve() with correct interface but no matching entity for the UUID.
+ * Tests resolve() with correct interface but no matching entity for the UUID.
*/
public function testResolveNoEntity() {
$uuid = '392eab92-35c2-4625-872d-a9dab4da008e';
@@ -82,7 +82,7 @@ public function testResolveNoEntity() {
}
/**
- * Test resolve() when a UUID corresponds to an entity.
+ * Tests resolve() when a UUID corresponds to an entity.
*/
public function testResolveWithEntity() {
$uuid = '392eab92-35c2-4625-872d-a9dab4da008e';
diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
index 031aee188e..9329a98107 100644
--- a/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
+++ b/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
@@ -52,7 +52,7 @@ public function testSupportsNormalization() {
}
/**
- * Test normalizing complex data.
+ * Tests normalizing complex data.
*
* @covers ::normalize
*/
@@ -80,7 +80,7 @@ public function testNormalizeComplexData() {
}
/**
- * Test normalize() where $object does not implement ComplexDataInterface.
+ * Tests normalize() where $object does not implement ComplexDataInterface.
*
* Normalizers extending ComplexDataNormalizer may have a different supported
* class.
diff --git a/core/modules/settings_tray/tests/src/FunctionalJavascript/OverriddenConfigurationTest.php b/core/modules/settings_tray/tests/src/FunctionalJavascript/OverriddenConfigurationTest.php
index f5959380b1..cfe5c1566b 100644
--- a/core/modules/settings_tray/tests/src/FunctionalJavascript/OverriddenConfigurationTest.php
+++ b/core/modules/settings_tray/tests/src/FunctionalJavascript/OverriddenConfigurationTest.php
@@ -42,7 +42,7 @@ protected function setUp(): void {
}
/**
- * Test blocks with overridden related configuration removed when overridden.
+ * Tests blocks with overridden related configuration removed when overridden.
*/
public function testOverriddenConfigurationRemoved() {
$web_assert = $this->assertSession();
diff --git a/core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php b/core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php
index 2abcd36a04..9cc4b1aa8f 100644
--- a/core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php
+++ b/core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php
@@ -262,7 +262,7 @@ public function testEditModeEnableDisable() {
}
/**
- * Test that validation errors appear in the off-canvas dialog.
+ * Tests that validation errors appear in the off-canvas dialog.
*/
public function testValidationMessages() {
$page = $this->getSession()->getPage();
diff --git a/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php b/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php
index 2908ff86ee..30b798a32f 100644
--- a/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php
+++ b/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php
@@ -40,7 +40,7 @@ protected function setUp(): void {
}
/**
- * Test the shortcut set migration.
+ * Tests the shortcut set migration.
*/
public function testShortcutSetMigration() {
$this->assertEntity('default', 'Default', 2);
diff --git a/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetUsersTest.php b/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetUsersTest.php
index deca603a15..e40b80e851 100644
--- a/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetUsersTest.php
+++ b/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetUsersTest.php
@@ -42,7 +42,7 @@ protected function setUp(): void {
}
/**
- * Test the shortcut set migration.
+ * Tests the shortcut set migration.
*/
public function testShortcutSetUsersMigration() {
// Check if migrated user has correct migrated shortcut set assigned.
diff --git a/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutTest.php b/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutTest.php
index 9b2f2a472d..d274aa9524 100644
--- a/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutTest.php
+++ b/core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutTest.php
@@ -61,7 +61,7 @@ protected function assertEntity($id, $title, $weight, $url) {
}
/**
- * Test the shortcut migration.
+ * Tests the shortcut migration.
*/
public function testShortcutMigration() {
// Check if the 4 shortcuts were migrated correctly.
diff --git a/core/modules/syslog/tests/src/Kernel/SyslogTest.php b/core/modules/syslog/tests/src/Kernel/SyslogTest.php
index 2ee04c7f5a..ec1cd55fbf 100644
--- a/core/modules/syslog/tests/src/Kernel/SyslogTest.php
+++ b/core/modules/syslog/tests/src/Kernel/SyslogTest.php
@@ -54,7 +54,7 @@ public function testSyslogWriting() {
}
/**
- * Test severity level logging.
+ * Tests severity level logging.
*
* @covers ::log
*/
diff --git a/core/modules/system/tests/modules/module_test/module_test.post_update.php b/core/modules/system/tests/modules/module_test/module_test.post_update.php
index b3785fcb80..c70e90a63d 100644
--- a/core/modules/system/tests/modules/module_test/module_test.post_update.php
+++ b/core/modules/system/tests/modules/module_test/module_test.post_update.php
@@ -6,7 +6,7 @@
*/
/**
- * Test post update function.
+ * Tests post update function.
*/
function module_test_post_update_test() {
}
diff --git a/core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php b/core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php
index 43e406fdb2..1bbf8ebe65 100644
--- a/core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php
+++ b/core/modules/system/tests/modules/render_attached_test/src/Controller/RenderAttachedTestController.php
@@ -8,7 +8,7 @@
class RenderAttachedTestController {
/**
- * Test special header and status code rendering.
+ * Tests special header and status code rendering.
*
* @return array
* A render array using features of the 'http_header' directive.
@@ -20,7 +20,7 @@ public function teapotHeaderStatus() {
}
/**
- * Test attached HTML head rendering.
+ * Tests attached HTML head rendering.
*
* @return array
* A render array using the 'http_head' directive.
@@ -36,7 +36,7 @@ public function header() {
}
/**
- * Test attached HTML head rendering.
+ * Tests attached HTML head rendering.
*
* @return array
* A render array using the 'html_head' directive.
@@ -58,7 +58,7 @@ public function head() {
}
/**
- * Test attached feed rendering.
+ * Tests attached feed rendering.
*
* @return array
* A render array using the 'feed' directive.
@@ -70,7 +70,7 @@ public function feed() {
}
/**
- * Test HTTP header rendering for link.
+ * Tests HTTP header rendering for link.
*
* @return array
* A render array using the 'html_head_link' directive.
diff --git a/core/modules/system/tests/modules/router_test_directory/src/TestControllers.php b/core/modules/system/tests/modules/router_test_directory/src/TestControllers.php
index fe228a336b..671ab0c70a 100644
--- a/core/modules/system/tests/modules/router_test_directory/src/TestControllers.php
+++ b/core/modules/system/tests/modules/router_test_directory/src/TestControllers.php
@@ -65,7 +65,7 @@ public function test9($uid) {
}
/**
- * Test controller for ExceptionHandlingTest::testBacktraceEscaping().
+ * Tests controller for ExceptionHandlingTest::testBacktraceEscaping().
*
* Passes unsafe HTML as an argument to a method which throws an exception.
* This can be used to test if the generated backtrace is properly escaped.
diff --git a/core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php b/core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php
index 1300abbb0d..cff73b818b 100644
--- a/core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php
+++ b/core/modules/system/tests/src/Functional/Ajax/OffCanvasDialogTest.php
@@ -27,7 +27,7 @@ class OffCanvasDialogTest extends BrowserTestBase {
protected static $modules = ['ajax_test'];
/**
- * Test sending AJAX requests to open and manipulate off-canvas dialog.
+ * Tests sending AJAX requests to open and manipulate off-canvas dialog.
*
* @dataProvider dialogPosition
*/
diff --git a/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php b/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php
index c47fb921a8..0e16809925 100644
--- a/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php
+++ b/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php
@@ -182,7 +182,7 @@ public function testBatchFormProgrammatic() {
}
/**
- * Test form submission during a batch operation.
+ * Tests form submission during a batch operation.
*/
public function testDrupalFormSubmitInBatch() {
// Displaying the page triggers a batch that programmatically submits a
diff --git a/core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php b/core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php
index d9c9494f99..18dfd432f9 100644
--- a/core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php
+++ b/core/modules/system/tests/src/Functional/Datetime/DrupalDateTimeTest.php
@@ -32,7 +32,7 @@ protected function setUp(): void {
}
/**
- * Test that the AJAX Timezone Callback can deal with various formats.
+ * Tests that the AJAX Timezone Callback can deal with various formats.
*/
public function testSystemTimezone() {
$options = [
@@ -46,7 +46,7 @@ public function testSystemTimezone() {
}
/**
- * Test that DrupalDateTime can detect the right timezone to use.
+ * Tests that DrupalDateTime can detect the right timezone to use.
* Test with a variety of less commonly used timezone names to
* help ensure that the system timezone will be different than the
* stated timezones.
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php b/core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php
index a97ee330a5..a4176f71ff 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php
@@ -37,7 +37,7 @@ protected function setUp(): void {
}
/**
- * Test paging.
+ * Tests paging.
*/
public function testPager() {
// Create 51 test entities.
diff --git a/core/modules/system/tests/src/Functional/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php b/core/modules/system/tests/src/Functional/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
index 760021e4a0..b6ad3e628b 100644
--- a/core/modules/system/tests/src/Functional/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
+++ b/core/modules/system/tests/src/Functional/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
@@ -115,7 +115,7 @@ protected function assertReferenceable(array $selection_options, $tests, $handle
}
/**
- * Test the node-specific overrides of the entity handler.
+ * Tests the node-specific overrides of the entity handler.
*/
public function testNodeHandler() {
$selection_options = [
@@ -239,7 +239,7 @@ public function testNodeHandler() {
}
/**
- * Test the user-specific overrides of the entity handler.
+ * Tests the user-specific overrides of the entity handler.
*/
public function testUserHandler() {
$selection_options = [
@@ -398,7 +398,7 @@ public function testUserHandler() {
}
/**
- * Test the comment-specific overrides of the entity handler.
+ * Tests the comment-specific overrides of the entity handler.
*/
public function testCommentHandler() {
$selection_options = [
@@ -556,7 +556,7 @@ public function testCommentHandler() {
}
/**
- * Test the term-specific overrides of the selection handler.
+ * Tests the term-specific overrides of the selection handler.
*/
public function testTermHandler() {
// Create a 'Tags' vocabulary.
diff --git a/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php b/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php
index ea9cc48ba2..1833e875db 100644
--- a/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php
@@ -25,7 +25,7 @@ class ElementsLabelsTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test form elements, labels, title attributes and required marks output
+ * Tests form elements, labels, title attributes and required marks output
* correctly and have the correct label option class if needed.
*/
public function testFormLabels() {
@@ -141,7 +141,7 @@ public function testFormDescriptions() {
}
/**
- * Test forms in theme-less environments.
+ * Tests forms in theme-less environments.
*/
public function testFormsInThemeLessEnvironments() {
$form = $this->getFormWithLimitedProperties();
diff --git a/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php b/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
index 29d92db02d..6ef61f6985 100644
--- a/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
+++ b/core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
@@ -25,7 +25,7 @@ class ElementsTableSelectTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test the display of checkboxes when #multiple is TRUE.
+ * Tests the display of checkboxes when #multiple is TRUE.
*/
public function testMultipleTrue() {
@@ -43,7 +43,7 @@ public function testMultipleTrue() {
}
/**
- * Test the display of radios when #multiple is FALSE.
+ * Tests the display of radios when #multiple is FALSE.
*/
public function testMultipleFalse() {
$this->drupalGet('form_test/tableselect/multiple-false');
@@ -84,7 +84,7 @@ public function testTableSelectColSpan() {
}
/**
- * Test the display of the #empty text when #options is an empty array.
+ * Tests the display of the #empty text when #options is an empty array.
*/
public function testEmptyText() {
$this->drupalGet('form_test/tableselect/empty-text');
@@ -92,7 +92,7 @@ public function testEmptyText() {
}
/**
- * Test the submission of single and multiple values when #multiple is TRUE.
+ * Tests the submission of single and multiple values when #multiple is TRUE.
*/
public function testMultipleTrueSubmit() {
@@ -118,7 +118,7 @@ public function testMultipleTrueSubmit() {
}
/**
- * Test submission of values when #multiple is FALSE.
+ * Tests submission of values when #multiple is FALSE.
*/
public function testMultipleFalseSubmit() {
$edit['tableselect'] = 'row1';
@@ -127,7 +127,7 @@ public function testMultipleFalseSubmit() {
}
/**
- * Test the #js_select property.
+ * Tests the #js_select property.
*/
public function testAdvancedSelect() {
// When #multiple = TRUE a Select all checkbox should be displayed by default.
@@ -147,7 +147,7 @@ public function testAdvancedSelect() {
}
/**
- * Test the whether the option checker gives an error on invalid tableselect values for checkboxes.
+ * Tests the whether the option checker gives an error on invalid tableselect values for checkboxes.
*/
public function testMultipleTrueOptionchecker() {
@@ -170,7 +170,7 @@ public function testMultipleTrueOptionchecker() {
}
/**
- * Test the whether the option checker gives an error on invalid tableselect values for radios.
+ * Tests the whether the option checker gives an error on invalid tableselect values for radios.
*/
public function testMultipleFalseOptionchecker() {
diff --git a/core/modules/system/tests/src/Functional/Form/FormTest.php b/core/modules/system/tests/src/Functional/Form/FormTest.php
index bf5fb27646..2cfde14aff 100644
--- a/core/modules/system/tests/src/Functional/Form/FormTest.php
+++ b/core/modules/system/tests/src/Functional/Form/FormTest.php
@@ -354,7 +354,7 @@ public function testRequiredTextfieldNoTitle() {
}
/**
- * Test default value handling for checkboxes.
+ * Tests default value handling for checkboxes.
*
* @see _form_test_checkbox()
*/
@@ -706,7 +706,7 @@ public function testColorValidation() {
}
/**
- * Test handling of disabled elements.
+ * Tests handling of disabled elements.
*
* @see _form_test_disabled_elements()
*/
@@ -861,7 +861,7 @@ public function testDisabledMarkup() {
}
/**
- * Test Form API protections against input forgery.
+ * Tests Form API protections against input forgery.
*
* @see \Drupal\form_test\Form\FormTestInputForgeryForm
*/
diff --git a/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php b/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php
index bccc4f5322..c799269ff3 100644
--- a/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php
+++ b/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php
@@ -69,7 +69,7 @@ protected function assertHtmlToText($html, $text, $message, $allowed_tags = NULL
}
/**
- * Test supported tags of \Drupal\Core\Mail\MailFormatHelper::htmlToText().
+ * Tests supported tags of \Drupal\Core\Mail\MailFormatHelper::htmlToText().
*/
public function testTags() {
global $base_path, $base_url;
@@ -198,7 +198,7 @@ public function testDrupalHtmlToTextArgs() {
}
/**
- * Test that whitespace is collapsed.
+ * Tests that whitespace is collapsed.
*/
public function testDrupalHtmltoTextCollapsesWhitespace() {
$input = "Drupal Drupal\n\nDrupal
Drupal Drupal\n\nDrupal
Drupal Drupal\n\nDrupal
";
@@ -213,7 +213,7 @@ public function testDrupalHtmltoTextCollapsesWhitespace() {
}
/**
- * Test that text separated by block-level tags in HTML get separated by
+ * Tests that text separated by block-level tags in HTML get separated by
* (at least) a newline in the plaintext version.
*/
public function testDrupalHtmlToTextBlockTagToNewline() {
@@ -264,7 +264,7 @@ public function testDrupalHtmlToTextBlockTagToNewline() {
}
/**
- * Test that headers are properly separated from surrounding text.
+ * Tests that headers are properly separated from surrounding text.
*/
public function testHeaderSeparation() {
$html = 'DrupalDrupal
Drupal';
@@ -289,7 +289,7 @@ public function testHeaderSeparation() {
}
/**
- * Test that footnote references are properly generated.
+ * Tests that footnote references are properly generated.
*/
public function testFootnoteReferences() {
global $base_path, $base_url;
@@ -318,7 +318,7 @@ public function testFootnoteReferences() {
}
/**
- * Test that combinations of paragraph breaks, line breaks, linefeeds,
+ * Tests that combinations of paragraph breaks, line breaks, linefeeds,
* and spaces are properly handled.
*/
public function testDrupalHtmlToTextParagraphs() {
diff --git a/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php b/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
index 60ebdca1e9..b64d398dbd 100644
--- a/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
+++ b/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
@@ -260,7 +260,7 @@ public function testLocalTaskBlock() {
}
/**
- * Test that local tasks blocks cache is invalidated correctly.
+ * Tests that local tasks blocks cache is invalidated correctly.
*/
public function testLocalTaskBlockCache() {
$this->drupalLogin($this->rootUser);
diff --git a/core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php b/core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php
index 37645b1f43..72aa9073e6 100644
--- a/core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php
+++ b/core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php
@@ -55,7 +55,7 @@ public function testMenuIntegration() {
}
/**
- * Test local tasks with route placeholders.
+ * Tests local tasks with route placeholders.
*/
protected function doTestHookMenuIntegration() {
// Generate base path with random argument.
@@ -75,7 +75,7 @@ protected function doTestHookMenuIntegration() {
}
/**
- * Test title callback set to FALSE.
+ * Tests title callback set to FALSE.
*/
protected function doTestTitleCallbackFalse() {
$this->drupalGet('test-page');
@@ -161,7 +161,7 @@ protected function doTestMenuHierarchy() {
}
/**
- * Test menu links that have optional placeholders.
+ * Tests menu links that have optional placeholders.
*/
protected function doTestMenuOptionalPlaceholders() {
$this->drupalGet('menu-test/optional');
@@ -189,7 +189,7 @@ protected function doTestMenuOnRoute() {
}
/**
- * Test path containing "exotic" characters.
+ * Tests path containing "exotic" characters.
*/
protected function doTestExoticPath() {
// "Special" ASCII characters.
@@ -222,7 +222,7 @@ public function testMaintenanceModeLoginPaths() {
}
/**
- * Test that an authenticated user hitting 'user/login' gets redirected to
+ * Tests that an authenticated user hitting 'user/login' gets redirected to
* 'user' and 'user/register' gets redirected to the user edit page.
*/
public function testAuthUserUserLogin() {
@@ -265,7 +265,7 @@ public function testThemeIntegration() {
}
/**
- * Test the theme negotiation when it is set to use an administrative theme.
+ * Tests the theme negotiation when it is set to use an administrative theme.
*/
protected function doTestThemeCallbackAdministrative() {
$this->drupalGet('menu-test/theme-callback/use-admin-theme');
@@ -274,7 +274,7 @@ protected function doTestThemeCallbackAdministrative() {
}
/**
- * Test the theme negotiation when the site is in maintenance mode.
+ * Tests the theme negotiation when the site is in maintenance mode.
*/
protected function doTestThemeCallbackMaintenanceMode() {
$this->container->get('state')->set('system.maintenance_mode', TRUE);
@@ -295,7 +295,7 @@ protected function doTestThemeCallbackMaintenanceMode() {
}
/**
- * Test the theme negotiation when it is set to use an optional theme.
+ * Tests the theme negotiation when it is set to use an optional theme.
*/
protected function doTestThemeCallbackOptionalTheme() {
// Request a theme that is not installed.
@@ -316,7 +316,7 @@ protected function doTestThemeCallbackOptionalTheme() {
}
/**
- * Test the theme negotiation when it is set to use a theme that does not exist.
+ * Tests the theme negotiation when it is set to use a theme that does not exist.
*/
protected function doTestThemeCallbackFakeTheme() {
$this->drupalGet('menu-test/theme-callback/use-fake-theme');
@@ -325,7 +325,7 @@ protected function doTestThemeCallbackFakeTheme() {
}
/**
- * Test the theme negotiation when no theme is requested.
+ * Tests the theme negotiation when no theme is requested.
*/
protected function doTestThemeCallbackNoThemeRequested() {
$this->drupalGet('menu-test/theme-callback/no-theme-requested');
diff --git a/core/modules/system/tests/src/Functional/Module/DependencyTest.php b/core/modules/system/tests/src/Functional/Module/DependencyTest.php
index b8022c8b88..37d4c7924a 100644
--- a/core/modules/system/tests/src/Functional/Module/DependencyTest.php
+++ b/core/modules/system/tests/src/Functional/Module/DependencyTest.php
@@ -69,7 +69,7 @@ public function testMissingModules() {
}
/**
- * Tests enabling a module that depends on an incompatible version of a module.
+ * Tests enabling a module that depends on incompatible version of a module.
*/
public function testIncompatibleModuleVersionDependency() {
// Test that the system_incompatible_module_version_dependencies_test is
diff --git a/core/modules/system/tests/src/Functional/Module/VersionTest.php b/core/modules/system/tests/src/Functional/Module/VersionTest.php
index 2935edf2ac..443c956f89 100644
--- a/core/modules/system/tests/src/Functional/Module/VersionTest.php
+++ b/core/modules/system/tests/src/Functional/Module/VersionTest.php
@@ -15,7 +15,7 @@ class VersionTest extends ModuleTestBase {
protected $defaultTheme = 'stark';
/**
- * Test version dependencies.
+ * Tests version dependencies.
*/
public function testModuleVersions() {
$dependencies = [
diff --git a/core/modules/system/tests/src/Functional/Pager/PagerTest.php b/core/modules/system/tests/src/Functional/Pager/PagerTest.php
index 9f79f0f5aa..2a42bd9f8a 100644
--- a/core/modules/system/tests/src/Functional/Pager/PagerTest.php
+++ b/core/modules/system/tests/src/Functional/Pager/PagerTest.php
@@ -79,7 +79,7 @@ public function testActiveClass() {
}
/**
- * Test proper functioning of the query parameters and the pager cache context.
+ * Tests proper functioning of the query parameters and the pager cache context.
*/
public function testPagerQueryParametersAndCacheContext() {
// First page.
@@ -108,7 +108,7 @@ public function testPagerQueryParametersAndCacheContext() {
}
/**
- * Test proper functioning of multiple pagers.
+ * Tests proper functioning of multiple pagers.
*/
public function testMultiplePagers() {
// First page.
@@ -191,7 +191,7 @@ public function testMultiplePagers() {
}
/**
- * Test proper functioning of the ellipsis.
+ * Tests proper functioning of the ellipsis.
*/
public function testPagerEllipsis() {
// Insert 100 extra log messages to get 9 pages.
diff --git a/core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php b/core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php
index c84f883861..9b11dc0617 100644
--- a/core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php
+++ b/core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php
@@ -80,7 +80,7 @@ public function testDrupalSettingsIsNotLoaded() {
}
/**
- * Test if multiple libraries can be excluded.
+ * Tests if multiple libraries can be excluded.
*
* The ajax_page_state[libraries] should be able to support multiple libraries
* comma separated.
diff --git a/core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php b/core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
index 7027fe248f..f64611a9a4 100644
--- a/core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
+++ b/core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
@@ -24,7 +24,7 @@ class HtmlResponseAttachmentsTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test rendering of ['#attached'].
+ * Tests rendering of ['#attached'].
*/
public function testAttachments() {
// Test ['#attached']['http_header] = ['Status', $code].
@@ -70,7 +70,7 @@ public function testAttachments() {
}
/**
- * Test caching of ['#attached'].
+ * Tests caching of ['#attached'].
*/
public function testRenderCachedBlock() {
// Make sure our test block is visible.
diff --git a/core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php b/core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php
index 313e0b97f0..68fd9543b0 100644
--- a/core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php
+++ b/core/modules/system/tests/src/Functional/Render/PlaceholderMessageTest.php
@@ -25,7 +25,7 @@ class PlaceholderMessageTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test rendering of message placeholder.
+ * Tests rendering of message placeholder.
*/
public function testMessagePlaceholder() {
$messages_markup = 'drupalCreateUser([]);
@@ -163,7 +163,7 @@ public function testSessionPersistenceOnLogin() {
}
/**
- * Test that empty anonymous sessions are destroyed.
+ * Tests that empty anonymous sessions are destroyed.
*/
public function testEmptyAnonymousSession() {
// Disable the dynamic_page_cache module; it'd cause session_test's debug
@@ -226,7 +226,7 @@ public function testEmptyAnonymousSession() {
}
/**
- * Test that sessions are only saved when necessary.
+ * Tests that sessions are only saved when necessary.
*/
public function testSessionWrite() {
$user = $this->drupalCreateUser([]);
@@ -273,7 +273,7 @@ public function testSessionWrite() {
}
/**
- * Test that empty session IDs are not allowed.
+ * Tests that empty session IDs are not allowed.
*/
public function testEmptySessionID() {
$user = $this->drupalCreateUser([]);
@@ -296,7 +296,7 @@ public function testEmptySessionID() {
}
/**
- * Test session bag.
+ * Tests session bag.
*/
public function testSessionBag() {
$this->drupalGet('/session-test/has-bag-flag');
diff --git a/core/modules/system/tests/src/Functional/System/AdminTest.php b/core/modules/system/tests/src/Functional/System/AdminTest.php
index a3e4f9a409..3d7b4c0ebc 100644
--- a/core/modules/system/tests/src/Functional/System/AdminTest.php
+++ b/core/modules/system/tests/src/Functional/System/AdminTest.php
@@ -146,7 +146,7 @@ protected function getTopLevelMenuLinks() {
}
/**
- * Test compact mode.
+ * Tests compact mode.
*/
public function testCompactMode() {
$session = $this->getSession();
diff --git a/core/modules/system/tests/src/Functional/System/CronRunTest.php b/core/modules/system/tests/src/Functional/System/CronRunTest.php
index 6e3e9be9e6..2616120f9c 100644
--- a/core/modules/system/tests/src/Functional/System/CronRunTest.php
+++ b/core/modules/system/tests/src/Functional/System/CronRunTest.php
@@ -31,7 +31,7 @@ class CronRunTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test cron runs.
+ * Tests cron runs.
*/
public function testCronRun() {
// Run cron anonymously without any cron key.
diff --git a/core/modules/system/tests/src/Functional/System/DateTimeTest.php b/core/modules/system/tests/src/Functional/System/DateTimeTest.php
index eee2e76bd1..ac87e36c7c 100644
--- a/core/modules/system/tests/src/Functional/System/DateTimeTest.php
+++ b/core/modules/system/tests/src/Functional/System/DateTimeTest.php
@@ -50,7 +50,7 @@ protected function setUp(): void {
}
/**
- * Test time zones and DST handling.
+ * Tests time zones and DST handling.
*/
public function testTimeZoneHandling() {
// Setup date/time settings for Honolulu time.
@@ -87,7 +87,7 @@ public function testTimeZoneHandling() {
}
/**
- * Test date format configuration.
+ * Tests date format configuration.
*/
public function testDateFormatConfiguration() {
// Confirm 'no custom date formats available' message appears.
@@ -178,7 +178,7 @@ public function testDateFormatConfiguration() {
}
/**
- * Test handling case with invalid data in selectors (like February, 31st).
+ * Tests handling case with invalid data in selectors (like February, 31st).
*/
public function testEnteringDateTimeViaSelectors() {
diff --git a/core/modules/system/tests/src/Functional/System/ErrorHandlerTest.php b/core/modules/system/tests/src/Functional/System/ErrorHandlerTest.php
index c2775b8e29..7c6c7a628a 100644
--- a/core/modules/system/tests/src/Functional/System/ErrorHandlerTest.php
+++ b/core/modules/system/tests/src/Functional/System/ErrorHandlerTest.php
@@ -25,7 +25,7 @@ class ErrorHandlerTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test the error handler.
+ * Tests the error handler.
*/
public function testErrorHandler() {
$config = $this->config('system.logging');
@@ -93,7 +93,7 @@ public function testErrorHandler() {
}
/**
- * Test the exception handler.
+ * Tests the exception handler.
*/
public function testExceptionHandler() {
$error_exception = [
diff --git a/core/modules/system/tests/src/Functional/System/FrontPageTest.php b/core/modules/system/tests/src/Functional/System/FrontPageTest.php
index 6dbef38ffb..d442a1ab88 100644
--- a/core/modules/system/tests/src/Functional/System/FrontPageTest.php
+++ b/core/modules/system/tests/src/Functional/System/FrontPageTest.php
@@ -49,7 +49,7 @@ protected function setUp(): void {
}
/**
- * Test front page functionality.
+ * Tests front page functionality.
*/
public function testDrupalFrontPage() {
// Create a promoted node to test the
tag on the front page view.
diff --git a/core/modules/system/tests/src/Functional/System/IndexPhpTest.php b/core/modules/system/tests/src/Functional/System/IndexPhpTest.php
index 8d10a3e81f..ff383ce019 100644
--- a/core/modules/system/tests/src/Functional/System/IndexPhpTest.php
+++ b/core/modules/system/tests/src/Functional/System/IndexPhpTest.php
@@ -21,7 +21,7 @@ protected function setUp(): void {
}
/**
- * Test index.php handling.
+ * Tests index.php handling.
*/
public function testIndexPhpHandling() {
$index_php = $GLOBALS['base_url'] . '/index.php';
diff --git a/core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php b/core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php
index c35a10005d..2961eed22b 100644
--- a/core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php
+++ b/core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php
@@ -42,7 +42,7 @@ protected function setUp(): void {
}
/**
- * Test availability of main content: Drupal falls back to SimplePageVariant.
+ * Tests availability of main content: Drupal falls back to SimplePageVariant.
*/
public function testMainContentFallback() {
$edit = [];
diff --git a/core/modules/system/tests/src/Functional/System/PageTitleTest.php b/core/modules/system/tests/src/Functional/System/PageTitleTest.php
index 5b280512db..64b51196d8 100644
--- a/core/modules/system/tests/src/Functional/System/PageTitleTest.php
+++ b/core/modules/system/tests/src/Functional/System/PageTitleTest.php
@@ -64,7 +64,7 @@ public function testTitleTags() {
}
/**
- * Test if the title of the site is XSS proof.
+ * Tests if the title of the site is XSS proof.
*/
public function testTitleXSS() {
// Set some title with JavaScript and HTML chars to escape.
diff --git a/core/modules/system/tests/src/Functional/System/ResponseGeneratorTest.php b/core/modules/system/tests/src/Functional/System/ResponseGeneratorTest.php
index 3d44528b7f..a492eb92f2 100644
--- a/core/modules/system/tests/src/Functional/System/ResponseGeneratorTest.php
+++ b/core/modules/system/tests/src/Functional/System/ResponseGeneratorTest.php
@@ -36,7 +36,7 @@ protected function setUp(): void {
}
/**
- * Test to see if generator header is added.
+ * Tests to see if generator header is added.
*/
public function testGeneratorHeaderAdded() {
diff --git a/core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php b/core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
index 21c1a85dd5..bab89229c6 100644
--- a/core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
+++ b/core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
@@ -32,7 +32,7 @@ protected function tearDown(): void {
}
/**
- * Test shutdown functions.
+ * Tests shutdown functions.
*/
public function testShutdownFunctions() {
$arg1 = $this->randomMachineName();
diff --git a/core/modules/system/tests/src/Functional/System/ThemeTest.php b/core/modules/system/tests/src/Functional/System/ThemeTest.php
index 4611da8e22..0077029826 100644
--- a/core/modules/system/tests/src/Functional/System/ThemeTest.php
+++ b/core/modules/system/tests/src/Functional/System/ThemeTest.php
@@ -50,7 +50,7 @@ protected function setUp(): void {
}
/**
- * Test the theme settings form.
+ * Tests the theme settings form.
*/
public function testThemeSettings() {
// Ensure invalid theme settings form URLs return a proper 404.
@@ -227,7 +227,7 @@ public function testThemeSettings() {
}
/**
- * Test the theme settings logo form.
+ * Tests the theme settings logo form.
*/
public function testThemeSettingsLogo() {
// Visit Bartik's theme settings page to replace the logo.
@@ -272,7 +272,7 @@ public function testThemeSettingsRenderCacheClear() {
}
/**
- * Test the administration theme functionality.
+ * Tests the administration theme functionality.
*/
public function testAdministrationTheme() {
$this->container->get('theme_installer')->install(['seven']);
@@ -331,7 +331,7 @@ public function testAdministrationTheme() {
}
/**
- * Test switching the default theme.
+ * Tests switching the default theme.
*/
public function testSwitchDefaultTheme() {
/** @var \Drupal\Core\Extension\ThemeInstallerInterface $theme_installer */
@@ -359,7 +359,7 @@ public function testSwitchDefaultTheme() {
}
/**
- * Test themes can't be installed when the base theme or engine is missing.
+ * Tests themes can't be installed when the base theme or engine is missing.
*
* Include test for themes that have a missing base theme somewhere further up
* the chain than the immediate base theme.
@@ -382,7 +382,7 @@ public function testInvalidTheme() {
}
/**
- * Test uninstalling of themes works.
+ * Tests uninstalling of themes works.
*/
public function testUninstallingThemes() {
// Install Bartik and set it as the default theme.
@@ -471,7 +471,7 @@ public function testInstallAndSetAsDefault() {
}
/**
- * Test the theme settings form when logo and favicon features are disabled.
+ * Tests the theme settings form when logo and favicon features are disabled.
*/
public function testThemeSettingsNoLogoNoFavicon() {
// Install theme with no logo and no favicon feature.
diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php
index 895d0f9b0f..2c8c5f9aad 100644
--- a/core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/ThemeEarlyInitializationTest.php
@@ -25,7 +25,7 @@ class ThemeEarlyInitializationTest extends BrowserTestBase {
protected $defaultTheme = 'classy';
/**
- * Test that the theme system can generate output in a request listener.
+ * Tests that the theme system can generate output in a request listener.
*/
public function testRequestListener() {
$this->drupalGet('theme-test/request-listener');
diff --git a/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php b/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php
index 85464dcf56..dae9eee5bb 100644
--- a/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php
+++ b/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php
@@ -78,7 +78,7 @@ protected function setUp(): void {
}
/**
- * Test Twig "trans" tags.
+ * Tests Twig "trans" tags.
*/
public function testTwigTransTags() {
// Run this once without and once with Twig debug because trans can work
@@ -98,7 +98,7 @@ public function testTwigTransTags() {
}
/**
- * Test empty Twig "trans" tags.
+ * Tests empty Twig "trans" tags.
*/
public function testEmptyTwigTransTags() {
$elements = [
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/DependencyHookInvocationTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/DependencyHookInvocationTest.php
index 2e9e74f9ec..c27990167d 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/DependencyHookInvocationTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/DependencyHookInvocationTest.php
@@ -34,7 +34,7 @@ protected function setUp(): void {
}
/**
- * Test the structure of the array returned by hook_update_dependencies().
+ * Tests the structure of the array returned by hook_update_dependencies().
*/
public function testHookUpdateDependencies() {
$update_dependencies = update_retrieve_dependencies();
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/DependencyOrderingTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/DependencyOrderingTest.php
index 7d203d15bc..2cc341da3f 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/DependencyOrderingTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/DependencyOrderingTest.php
@@ -34,7 +34,7 @@ protected function setUp(): void {
}
/**
- * Test that updates within a single module run in the correct order.
+ * Tests that updates within a single module run in the correct order.
*/
public function testUpdateOrderingSingleModule() {
$starting_updates = [
@@ -50,7 +50,7 @@ public function testUpdateOrderingSingleModule() {
}
/**
- * Test that dependencies between modules are resolved correctly.
+ * Tests that dependencies between modules are resolved correctly.
*/
public function testUpdateOrderingModuleInterdependency() {
$starting_updates = [
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
index 3ba1b54bbb..372f36ee7d 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
@@ -43,7 +43,7 @@ protected function setUp(): void {
}
/**
- * Test the system module updates with no dependencies installed.
+ * Tests the system module updates with no dependencies installed.
*/
public function testNoPreExistingSchema() {
$schema = \Drupal::keyValue('system.schema')->getAll();
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php
index 26ba2a3e7b..c730fdf051 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php
@@ -18,7 +18,7 @@ class RebuildScriptTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test redirect in rebuild.php.
+ * Tests redirect in rebuild.php.
*/
public function testRebuild() {
$cache = $this->container->get('cache.default');
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php
index 6830c3b7f5..2082cf2f38 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php
@@ -20,7 +20,7 @@ class UpdatePathNewDependencyTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test that a module can add services that depend on new modules.
+ * Tests that a module can add services that depend on new modules.
*/
public function testUpdateNewDependency() {
// The new_dependency_test before the update is just an empty info.yml file.
diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php
index 0e2680c68b..209ca4801d 100644
--- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php
+++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php
@@ -27,7 +27,7 @@ protected function setUp(): void {
}
/**
- * Test JavaScript loading at update.php.
+ * Tests JavaScript loading at update.php.
*
* @see ::doPreUpdateTests
*/
diff --git a/core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php b/core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php
index 560ee6c8bf..c38627553b 100644
--- a/core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php
+++ b/core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php
@@ -22,7 +22,7 @@ class ElementsTableSelectTest extends WebDriverTestBase {
protected $defaultTheme = 'stark';
/**
- * Test the presence of ajax functionality for all options.
+ * Tests the presence of ajax functionality for all options.
*/
public function testAjax() {
// Test checkboxes (#multiple == TRUE).
diff --git a/core/modules/system/tests/src/Kernel/Form/ProgrammaticTest.php b/core/modules/system/tests/src/Kernel/Form/ProgrammaticTest.php
index f610a5f152..8108b1c279 100644
--- a/core/modules/system/tests/src/Kernel/Form/ProgrammaticTest.php
+++ b/core/modules/system/tests/src/Kernel/Form/ProgrammaticTest.php
@@ -21,7 +21,7 @@ class ProgrammaticTest extends KernelTestBase {
protected static $modules = ['form_test'];
/**
- * Test the programmatic form submission workflow.
+ * Tests the programmatic form submission workflow.
*/
public function testSubmissionWorkflow() {
// Backup the current batch status and reset it to avoid conflicts while
@@ -91,7 +91,7 @@ protected function doSubmitForm($values, $valid_input) {
}
/**
- * Test the programmed_bypass_access_check flag.
+ * Tests the programmed_bypass_access_check flag.
*/
public function testProgrammaticAccessBypass() {
$form_state = (new FormState())->setValues([
diff --git a/core/modules/system/tests/src/Kernel/Mail/MailTest.php b/core/modules/system/tests/src/Kernel/Mail/MailTest.php
index b2e3655fa2..c3923f8916 100644
--- a/core/modules/system/tests/src/Kernel/Mail/MailTest.php
+++ b/core/modules/system/tests/src/Kernel/Mail/MailTest.php
@@ -89,7 +89,7 @@ public function testErrorMessageDisplay() {
}
/**
- * Test that message sending may be canceled.
+ * Tests that message sending may be canceled.
*
* @see mail_cancel_test_mail_alter()
*/
diff --git a/core/modules/system/tests/src/Kernel/Render/ClassyTest.php b/core/modules/system/tests/src/Kernel/Render/ClassyTest.php
index 1eab0f78a7..8adb4ebd98 100644
--- a/core/modules/system/tests/src/Kernel/Render/ClassyTest.php
+++ b/core/modules/system/tests/src/Kernel/Render/ClassyTest.php
@@ -34,7 +34,7 @@ public function setUp(): void {
}
/**
- * Test the classy theme.
+ * Tests the classy theme.
*/
public function testClassyTheme() {
\Drupal::messenger()->addError('An error occurred');
diff --git a/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php b/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
index 0b31ec6db9..3c6d8aa34e 100644
--- a/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
+++ b/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
@@ -26,7 +26,7 @@
class DbCommandBaseTest extends KernelTestBase {
/**
- * Test specifying a database key.
+ * Tests specifying a database key.
*/
public function testSpecifyDatabaseKey() {
$command = new DbCommandBaseTester();
@@ -55,7 +55,7 @@ public function testSpecifyDatabaseDoesNotExist() {
}
/**
- * Test supplying database connection as a url.
+ * Tests supplying database connection as a url.
*/
public function testSpecifyDbUrl() {
$command = new DbCommandBaseTester();
@@ -73,7 +73,7 @@ public function testSpecifyDbUrl() {
}
/**
- * Test specifying a prefix for different connections.
+ * Tests specifying a prefix for different connections.
*/
public function testPrefix() {
if (Database::getConnection()->driver() == 'sqlite') {
diff --git a/core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php b/core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php
index 887ba8a117..bfa02443f5 100644
--- a/core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php
+++ b/core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php
@@ -39,7 +39,7 @@ protected function setUp(): void {
}
/**
- * Test the command directly.
+ * Tests the command directly.
*/
public function testDbDumpCommand() {
$command = new DbDumpCommand();
@@ -57,7 +57,7 @@ public function testDbDumpCommand() {
}
/**
- * Test schema only option.
+ * Tests schema only option.
*/
public function testSchemaOnly() {
$command = new DbDumpCommand();
diff --git a/core/modules/system/tests/src/Kernel/Scripts/DbImportCommandTest.php b/core/modules/system/tests/src/Kernel/Scripts/DbImportCommandTest.php
index c56095b08f..c88128bf42 100644
--- a/core/modules/system/tests/src/Kernel/Scripts/DbImportCommandTest.php
+++ b/core/modules/system/tests/src/Kernel/Scripts/DbImportCommandTest.php
@@ -55,7 +55,7 @@ class DbImportCommandTest extends KernelTestBase {
];
/**
- * Test the command directly.
+ * Tests the command directly.
*
* @requires extension pdo_sqlite
*/
diff --git a/core/modules/system/tests/src/Kernel/Scripts/DbToolsApplicationTest.php b/core/modules/system/tests/src/Kernel/Scripts/DbToolsApplicationTest.php
index 6bf39aafc1..9f330d9de9 100644
--- a/core/modules/system/tests/src/Kernel/Scripts/DbToolsApplicationTest.php
+++ b/core/modules/system/tests/src/Kernel/Scripts/DbToolsApplicationTest.php
@@ -16,7 +16,7 @@
class DbToolsApplicationTest extends KernelTestBase {
/**
- * Test that the dump command is correctly registered.
+ * Tests that the dump command is correctly registered.
*/
public function testDumpCommandRegistration() {
$application = new DbToolsApplication();
@@ -25,7 +25,7 @@ public function testDumpCommandRegistration() {
}
/**
- * Test that the dump command is correctly registered.
+ * Tests that the dump command is correctly registered.
*/
public function testImportCommandRegistration() {
$application = new DbToolsApplication();
diff --git a/core/modules/system/tests/src/Kernel/System/FloodTest.php b/core/modules/system/tests/src/Kernel/System/FloodTest.php
index ba7bd51928..cf32fd9fed 100644
--- a/core/modules/system/tests/src/Kernel/System/FloodTest.php
+++ b/core/modules/system/tests/src/Kernel/System/FloodTest.php
@@ -19,7 +19,7 @@ class FloodTest extends KernelTestBase {
protected static $modules = ['system'];
/**
- * Test flood control mechanism clean-up.
+ * Tests flood control mechanism clean-up.
*/
public function testCleanUp() {
$threshold = 1;
@@ -47,7 +47,7 @@ public function testCleanUp() {
}
/**
- * Test flood control memory backend.
+ * Tests flood control memory backend.
*/
public function testMemoryBackend() {
$threshold = 1;
@@ -75,7 +75,7 @@ public function testMemoryBackend() {
}
/**
- * Test flood control database backend.
+ * Tests flood control database backend.
*/
public function testDatabaseBackend() {
$threshold = 1;
diff --git a/core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php b/core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php
index 7eff97c8d8..57491bcb87 100644
--- a/core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php
+++ b/core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php
@@ -418,7 +418,7 @@ public function testIndexedKeyedLinks() {
}
/**
- * Test the use of Link::preRenderLinks() on a nested array of links.
+ * Tests the use of Link::preRenderLinks() on a nested array of links.
*
* @see \Drupal\Core\Render\Element\Link::preRenderLinks()
*/
diff --git a/core/modules/system/tests/src/Kernel/Theme/ThemeTest.php b/core/modules/system/tests/src/Kernel/Theme/ThemeTest.php
index 74b0e496eb..0e346064da 100644
--- a/core/modules/system/tests/src/Kernel/Theme/ThemeTest.php
+++ b/core/modules/system/tests/src/Kernel/Theme/ThemeTest.php
@@ -27,7 +27,7 @@ protected function setUp(): void {
}
/**
- * Test attribute merging.
+ * Tests attribute merging.
*
* Render arrays that use a render element and templates (and hence call
* template_preprocess()) must ensure the attributes at different occasions
@@ -49,7 +49,7 @@ public function testAttributeMerging() {
}
/**
- * Test that ThemeManager renders the expected data types.
+ * Tests that ThemeManager renders the expected data types.
*/
public function testThemeDataTypes() {
// theme_test_false is an implemented theme hook so \Drupal::theme() service
@@ -74,7 +74,7 @@ public function testThemeDataTypes() {
}
/**
- * Test function theme_get_suggestions() for SA-CORE-2009-003.
+ * Tests function theme_get_suggestions() for SA-CORE-2009-003.
*/
public function testThemeSuggestions() {
// Set the front page as something random otherwise the CLI
@@ -101,7 +101,7 @@ public function testThemeSuggestions() {
}
/**
- * Test the listInfo() function.
+ * Tests the listInfo() function.
*/
public function testListThemes() {
$this->container->get('theme_installer')->install(['test_subtheme']);
diff --git a/core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php b/core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php
index 2d6806a234..f369cfd44e 100644
--- a/core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php
+++ b/core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php
@@ -19,7 +19,7 @@ class TwigFilterTest extends KernelTestBase {
protected static $modules = ['twig_theme_test'];
/**
- * Test Twig "without" filter.
+ * Tests Twig "without" filter.
*/
public function testTwigWithoutFilter() {
$filter_test = [
diff --git a/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php b/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
index 5b49e63687..2d66d69265 100644
--- a/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
+++ b/core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
@@ -26,7 +26,7 @@ protected function setUp(): void {
}
/**
- * Test whether token-replacement works in various contexts.
+ * Tests whether token-replacement works in various contexts.
*/
public function testSystemTokenRecognition() {
// Generate prefixes and suffixes for the token context.
diff --git a/core/modules/taxonomy/tests/src/Functional/EarlyDateTest.php b/core/modules/taxonomy/tests/src/Functional/EarlyDateTest.php
index 784228d860..8d66852d7f 100644
--- a/core/modules/taxonomy/tests/src/Functional/EarlyDateTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/EarlyDateTest.php
@@ -55,7 +55,7 @@ protected function setUp(): void {
}
/**
- * Test taxonomy functionality with nodes prior to 1970.
+ * Tests taxonomy functionality with nodes prior to 1970.
*/
public function testTaxonomyEarlyDateNode() {
// Posts an article with a taxonomy term and a date prior to 1970.
diff --git a/core/modules/taxonomy/tests/src/Functional/TermAccessTest.php b/core/modules/taxonomy/tests/src/Functional/TermAccessTest.php
index a69fdf144d..39a4c5d3c8 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermAccessTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermAccessTest.php
@@ -21,7 +21,7 @@ class TermAccessTest extends TaxonomyTestBase {
protected $defaultTheme = 'stark';
/**
- * Test access control functionality for taxonomy terms.
+ * Tests access control functionality for taxonomy terms.
*/
public function testTermAccess() {
$assert_session = $this->assertSession();
diff --git a/core/modules/taxonomy/tests/src/Functional/TermTest.php b/core/modules/taxonomy/tests/src/Functional/TermTest.php
index 5060ab631d..52765ed6c3 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermTest.php
@@ -89,7 +89,7 @@ public function testParentHandlerSettings() {
}
/**
- * Test terms in a single and multiple hierarchy.
+ * Tests terms in a single and multiple hierarchy.
*/
public function testTaxonomyTermHierarchy() {
// Create two taxonomy terms.
@@ -182,7 +182,7 @@ public function testTaxonomyTermChildTerms() {
}
/**
- * Test that hook_node_$op implementations work correctly.
+ * Tests that hook_node_$op implementations work correctly.
*
* Save & edit a node and assert that taxonomy terms are saved/loaded properly.
*/
@@ -223,7 +223,7 @@ public function testTaxonomyNode() {
}
/**
- * Test term creation with a free-tagging vocabulary from the node form.
+ * Tests term creation with a free-tagging vocabulary from the node form.
*/
public function testNodeTermCreationAndDeletion() {
// Enable tags in the vocabulary.
@@ -461,7 +461,7 @@ public function testTermReorder() {
}
/**
- * Test saving a term with multiple parents through the UI.
+ * Tests saving a term with multiple parents through the UI.
*/
public function testTermMultipleParentsInterface() {
// Add a new term to the vocabulary so that we can have multiple parents.
@@ -490,7 +490,7 @@ public function testTermMultipleParentsInterface() {
}
/**
- * Test taxonomy_term_load_multiple_by_name().
+ * Tests taxonomy_term_load_multiple_by_name().
*/
public function testTaxonomyGetTermByName() {
$term = $this->createTerm($this->vocabulary);
diff --git a/core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php b/core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php
index 5e0127248c..5b7fa42ecc 100644
--- a/core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php
@@ -56,7 +56,7 @@ protected function setUp(): void {
}
/**
- * Test translated breadcrumbs.
+ * Tests translated breadcrumbs.
*/
public function testTranslatedBreadcrumbs() {
// Ensure non-translated breadcrumb is correct.
@@ -90,7 +90,7 @@ public function testTranslatedBreadcrumbs() {
}
/**
- * Test translation of terms are showed in the node.
+ * Tests translation of terms are showed in the node.
*/
public function testTermsTranslation() {
diff --git a/core/modules/taxonomy/tests/src/Functional/ThemeTest.php b/core/modules/taxonomy/tests/src/Functional/ThemeTest.php
index 83f4a88723..314a07760a 100644
--- a/core/modules/taxonomy/tests/src/Functional/ThemeTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/ThemeTest.php
@@ -32,7 +32,7 @@ protected function setUp(): void {
}
/**
- * Test the theme used when adding, viewing and editing taxonomy terms.
+ * Tests the theme used when adding, viewing and editing taxonomy terms.
*/
public function testTaxonomyTermThemes() {
// Adding a term to a vocabulary is considered an administrative action and
diff --git a/core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php b/core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
index a7fac48138..aeabca5901 100644
--- a/core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
@@ -60,7 +60,7 @@ public function testVocabularyPermissionsVocabulary() {
}
/**
- * Test the vocabulary overview permission.
+ * Tests the vocabulary overview permission.
*/
public function testTaxonomyVocabularyOverviewPermissions() {
// Create two vocabularies, one with two terms, the other without any term.
diff --git a/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php b/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
index 50f3afd659..4c300de0fd 100644
--- a/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
+++ b/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
@@ -114,7 +114,7 @@ public function testTaxonomyAdminChangingWeights() {
}
/**
- * Test the vocabulary overview with no vocabularies.
+ * Tests the vocabulary overview with no vocabularies.
*/
public function testTaxonomyAdminNoVocabularies() {
// Delete all vocabularies.
diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php
index 2f323eccd2..3405080397 100644
--- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php
+++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php
@@ -37,7 +37,7 @@ protected function setUp(): void {
}
/**
- * Test node migration from Drupal 7 to 8.
+ * Tests node migration from Drupal 7 to 8.
*/
public function testMigration() {
$node = Node::load(2);
diff --git a/core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php b/core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
index f641bed338..8d3d68261d 100644
--- a/core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
+++ b/core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
@@ -66,7 +66,7 @@ public function testMultipleParentDelete() {
}
/**
- * Test a taxonomy with terms that have multiple parents of different depths.
+ * Tests a taxonomy with terms that have multiple parents of different depths.
*/
public function testTaxonomyVocabularyTree() {
// Create a new vocabulary with 6 terms.
diff --git a/core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php b/core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php
index 1078e92cd3..b65780130c 100644
--- a/core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php
+++ b/core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php
@@ -40,7 +40,7 @@ protected function setUp(): void {
}
/**
- * Test deleting a taxonomy that contains terms.
+ * Tests deleting a taxonomy that contains terms.
*/
public function testTaxonomyVocabularyDeleteWithTerms() {
$vocabulary = $this->createVocabulary();
@@ -127,7 +127,7 @@ public function testTaxonomyVocabularyLoadMultiple() {
}
/**
- * Test uninstall and reinstall of the taxonomy module.
+ * Tests uninstall and reinstall of the taxonomy module.
*/
public function testUninstallReinstall() {
$vocabulary = $this->createVocabulary();
diff --git a/core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php b/core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php
index e066012fb3..00e854befc 100644
--- a/core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php
+++ b/core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php
@@ -79,7 +79,7 @@ protected function setUp(): void {
}
/**
- * Test to confirm the widget is setup.
+ * Tests to confirm the widget is setup.
*
* @covers \Drupal\telephone\Plugin\Field\FieldWidget\TelephoneDefaultWidget::formElement
*/
@@ -90,7 +90,7 @@ public function testTelephoneWidget() {
}
/**
- * Test the telephone formatter.
+ * Tests the telephone formatter.
*
* @covers \Drupal\telephone\Plugin\Field\FieldFormatter\TelephoneLinkFormatter::viewElements
*
diff --git a/core/modules/text/tests/src/Functional/TextFieldTest.php b/core/modules/text/tests/src/Functional/TextFieldTest.php
index 860d63de0d..311474d393 100644
--- a/core/modules/text/tests/src/Functional/TextFieldTest.php
+++ b/core/modules/text/tests/src/Functional/TextFieldTest.php
@@ -42,7 +42,7 @@ protected function setUp(): void {
// Test fields.
/**
- * Test text field validation.
+ * Tests text field validation.
*/
public function testTextFieldValidation() {
// Create a field with settings to validate.
@@ -77,7 +77,7 @@ public function testTextFieldValidation() {
}
/**
- * Test required long text with file upload.
+ * Tests required long text with file upload.
*/
public function testRequiredLongTextWithFileUpload() {
// Create a text field.
@@ -138,7 +138,7 @@ public function testRequiredLongTextWithFileUpload() {
}
/**
- * Test widgets.
+ * Tests widgets.
*/
public function testTextfieldWidgets() {
$this->_testTextfieldWidgets('text', 'text_textfield');
@@ -146,7 +146,7 @@ public function testTextfieldWidgets() {
}
/**
- * Test widgets + 'formatted_text' setting.
+ * Tests widgets + 'formatted_text' setting.
*/
public function testTextfieldWidgetsFormatted() {
$this->_testTextfieldWidgetsFormatted('text', 'text_textfield');
diff --git a/core/modules/text/tests/src/Kernel/TextSummaryTest.php b/core/modules/text/tests/src/Kernel/TextSummaryTest.php
index b95ae19ab7..85ac13ba66 100644
--- a/core/modules/text/tests/src/Kernel/TextSummaryTest.php
+++ b/core/modules/text/tests/src/Kernel/TextSummaryTest.php
@@ -47,7 +47,7 @@ public function testFirstSentenceQuestion() {
}
/**
- * Test summary with long example.
+ * Tests summary with long example.
*/
public function testLongSentence() {
// 125.
@@ -67,7 +67,7 @@ public function testLongSentence() {
}
/**
- * Test various summary length edge cases.
+ * Tests various summary length edge cases.
*/
public function testLength() {
FilterFormat::create([
@@ -223,7 +223,7 @@ public function testLength() {
}
/**
- * Test text_summary() returns an empty string without any error when called
+ * Tests text_summary() returns an empty string without any error when called
* with an invalid format.
*/
public function testInvalidFilterFormat() {
@@ -243,7 +243,7 @@ public function assertTextSummary($text, $expected, $format = NULL, $size = NULL
}
/**
- * Test required summary.
+ * Tests required summary.
*/
public function testRequiredSummary() {
$this->installEntitySchema('entity_test');
diff --git a/core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php b/core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
index c7af80dcb6..17fac478cb 100644
--- a/core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
+++ b/core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
@@ -353,7 +353,7 @@ public function testSubtreesJsonRequest() {
}
/**
- * Test that subtrees hashes vary by the language of the page.
+ * Tests that subtrees hashes vary by the language of the page.
*/
public function testLanguageSwitching() {
// Create a new language with the langcode 'xx'.
@@ -377,7 +377,7 @@ public function testLanguageSwitching() {
}
/**
- * Test that back to site link exists on admin pages, not on content pages.
+ * Tests that back to site link exists on admin pages, not on content pages.
*/
public function testBackToSiteLink() {
// Back to site link should exist in the markup.
diff --git a/core/modules/tour/tests/src/Functional/TourTest.php b/core/modules/tour/tests/src/Functional/TourTest.php
index 5e53f335ad..0447f0d764 100644
--- a/core/modules/tour/tests/src/Functional/TourTest.php
+++ b/core/modules/tour/tests/src/Functional/TourTest.php
@@ -62,7 +62,7 @@ protected function setUp(): void {
}
/**
- * Test tour functionality.
+ * Tests tour functionality.
*/
public function testTourFunctionality() {
// Navigate to tour-test-1 and verify the tour_test_1 tip is found with appropriate classes.
diff --git a/core/modules/tour/tests/src/Kernel/TourPluginTest.php b/core/modules/tour/tests/src/Kernel/TourPluginTest.php
index 1c1bd73640..64731c7073 100644
--- a/core/modules/tour/tests/src/Kernel/TourPluginTest.php
+++ b/core/modules/tour/tests/src/Kernel/TourPluginTest.php
@@ -33,7 +33,7 @@ protected function setUp(): void {
}
/**
- * Test tour plugins.
+ * Tests tour plugins.
*/
public function testTourPlugins() {
$this->assertIdentical(count($this->pluginManager->getDefinitions()), 1, 'Only tour plugins for the enabled modules were returned.');
diff --git a/core/modules/user/tests/src/Functional/UserBlocksTest.php b/core/modules/user/tests/src/Functional/UserBlocksTest.php
index 0030612d84..711282e61c 100644
--- a/core/modules/user/tests/src/Functional/UserBlocksTest.php
+++ b/core/modules/user/tests/src/Functional/UserBlocksTest.php
@@ -66,7 +66,7 @@ public function testUserLoginBlockVisibility() {
}
/**
- * Test the user login block.
+ * Tests the user login block.
*/
public function testUserLoginBlock() {
// Create a user with some permission that anonymous users lack.
diff --git a/core/modules/user/tests/src/Functional/UserCancelTest.php b/core/modules/user/tests/src/Functional/UserCancelTest.php
index 5895a0cf93..114458970c 100644
--- a/core/modules/user/tests/src/Functional/UserCancelTest.php
+++ b/core/modules/user/tests/src/Functional/UserCancelTest.php
@@ -73,7 +73,7 @@ public function testUserCancelWithoutPermission() {
}
/**
- * Test ability to change the permission for canceling users.
+ * Tests ability to change the permission for canceling users.
*/
public function testUserCancelChangePermission() {
\Drupal::service('module_installer')->install(['user_form_test']);
diff --git a/core/modules/user/tests/src/Functional/UserEditTest.php b/core/modules/user/tests/src/Functional/UserEditTest.php
index 6a71927a96..801fcc1b1e 100644
--- a/core/modules/user/tests/src/Functional/UserEditTest.php
+++ b/core/modules/user/tests/src/Functional/UserEditTest.php
@@ -18,7 +18,7 @@ class UserEditTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test user edit page.
+ * Tests user edit page.
*/
public function testUserEdit() {
// Test user edit functionality.
diff --git a/core/modules/user/tests/src/Functional/UserLanguageTest.php b/core/modules/user/tests/src/Functional/UserLanguageTest.php
index f2c7ef61ed..db5e0dcc6f 100644
--- a/core/modules/user/tests/src/Functional/UserLanguageTest.php
+++ b/core/modules/user/tests/src/Functional/UserLanguageTest.php
@@ -25,7 +25,7 @@ class UserLanguageTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test if user can change their default language.
+ * Tests if user can change their default language.
*/
public function testUserLanguageConfiguration() {
// User to add and remove language.
diff --git a/core/modules/user/tests/src/Functional/UserLoginHttpTest.php b/core/modules/user/tests/src/Functional/UserLoginHttpTest.php
index 1544b953d0..9cf218f4e3 100644
--- a/core/modules/user/tests/src/Functional/UserLoginHttpTest.php
+++ b/core/modules/user/tests/src/Functional/UserLoginHttpTest.php
@@ -342,7 +342,7 @@ protected function assertHttpResponseWithMessage(ResponseInterface $response, $e
}
/**
- * Test the per-user login flood control.
+ * Tests the per-user login flood control.
*
* @see \Drupal\user\Tests\UserLoginTest::testPerUserLoginFloodControl
* @see \Drupal\basic_auth\Tests\Authentication\BasicAuthTest::testPerUserLoginFloodControl
@@ -432,7 +432,7 @@ protected function logoutRequest($format = 'json', $logout_token = '') {
}
/**
- * Test csrf protection of User Logout route.
+ * Tests csrf protection of User Logout route.
*/
public function testLogoutCsrfProtection() {
$client = \Drupal::httpClient();
diff --git a/core/modules/user/tests/src/Functional/UserLoginTest.php b/core/modules/user/tests/src/Functional/UserLoginTest.php
index e067915867..6a5a96009a 100644
--- a/core/modules/user/tests/src/Functional/UserLoginTest.php
+++ b/core/modules/user/tests/src/Functional/UserLoginTest.php
@@ -35,7 +35,7 @@ public function testLoginCacheTagsAndDestination() {
}
/**
- * Test the global login flood control.
+ * Tests the global login flood control.
*/
public function testGlobalLoginFloodControl() {
$this->config('user.flood')
@@ -72,7 +72,7 @@ public function testGlobalLoginFloodControl() {
}
/**
- * Test the per-user login flood control.
+ * Tests the per-user login flood control.
*/
public function testPerUserLoginFloodControl() {
$this->config('user.flood')
@@ -112,7 +112,7 @@ public function testPerUserLoginFloodControl() {
}
/**
- * Test that user password is re-hashed upon login after changing $count_log2.
+ * Tests user password is re-hashed upon login after changing $count_log2.
*/
public function testPasswordRehashOnLogin() {
// Determine default log2 for phpass hashing algorithm
diff --git a/core/modules/user/tests/src/Functional/UserPasswordResetTest.php b/core/modules/user/tests/src/Functional/UserPasswordResetTest.php
index 19de5960e7..ed14fb7740 100644
--- a/core/modules/user/tests/src/Functional/UserPasswordResetTest.php
+++ b/core/modules/user/tests/src/Functional/UserPasswordResetTest.php
@@ -219,7 +219,7 @@ public function getResetURL() {
}
/**
- * Test user password reset while logged in.
+ * Tests user password reset while logged in.
*/
public function testUserPasswordResetLoggedIn() {
$another_account = $this->drupalCreateUser();
diff --git a/core/modules/user/tests/src/Functional/UserPermissionsTest.php b/core/modules/user/tests/src/Functional/UserPermissionsTest.php
index ea246a8171..de934a4ec2 100644
--- a/core/modules/user/tests/src/Functional/UserPermissionsTest.php
+++ b/core/modules/user/tests/src/Functional/UserPermissionsTest.php
@@ -45,7 +45,7 @@ protected function setUp(): void {
}
/**
- * Test changing user permissions through the permissions page.
+ * Tests changing user permissions through the permissions page.
*/
public function testUserPermissionChanges() {
$permissions_hash_generator = $this->container->get('user_permissions_hash_generator');
@@ -96,7 +96,7 @@ public function testUserPermissionChanges() {
}
/**
- * Test assigning of permissions for the administrator role.
+ * Tests assigning of permissions for the administrator role.
*/
public function testAdministratorRole() {
$this->drupalLogin($this->adminUser);
diff --git a/core/modules/user/tests/src/Functional/UserRoleAdminTest.php b/core/modules/user/tests/src/Functional/UserRoleAdminTest.php
index bd8e0424e3..cd115f329a 100644
--- a/core/modules/user/tests/src/Functional/UserRoleAdminTest.php
+++ b/core/modules/user/tests/src/Functional/UserRoleAdminTest.php
@@ -42,7 +42,7 @@ protected function setUp(): void {
}
/**
- * Test adding, renaming and deleting roles.
+ * Tests adding, renaming and deleting roles.
*/
public function testRoleAdministration() {
$this->drupalLogin($this->adminUser);
@@ -101,7 +101,7 @@ public function testRoleAdministration() {
}
/**
- * Test user role weight change operation and ordering.
+ * Tests user role weight change operation and ordering.
*/
public function testRoleWeightOrdering() {
$this->drupalLogin($this->adminUser);
diff --git a/core/modules/user/tests/src/Functional/UserSubAdminTest.php b/core/modules/user/tests/src/Functional/UserSubAdminTest.php
index 1200a2d947..8d01111096 100644
--- a/core/modules/user/tests/src/Functional/UserSubAdminTest.php
+++ b/core/modules/user/tests/src/Functional/UserSubAdminTest.php
@@ -22,7 +22,7 @@ class UserSubAdminTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test create and cancel forms as 'sub-admin'.
+ * Tests create and cancel forms as 'sub-admin'.
*/
public function testSubAdmin() {
$user = $this->drupalCreateUser(['sub-admin']);
diff --git a/core/modules/user/tests/src/Functional/UserTranslationUITest.php b/core/modules/user/tests/src/Functional/UserTranslationUITest.php
index 9b8d9ae915..4eb0ee4077 100644
--- a/core/modules/user/tests/src/Functional/UserTranslationUITest.php
+++ b/core/modules/user/tests/src/Functional/UserTranslationUITest.php
@@ -86,7 +86,7 @@ protected function doTestTranslationEdit() {
}
/**
- * Test translated user deletion.
+ * Tests translated user deletion.
*/
public function testTranslatedUserDeletion() {
$this->drupalLogin($this->administrator);
diff --git a/core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php b/core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php
index 73fa0546ea..0380687889 100644
--- a/core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php
+++ b/core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php
@@ -100,7 +100,7 @@ protected function setUp(): void {
}
/**
- * Test the user_role condition.
+ * Tests the user_role condition.
*/
public function testConditions() {
// Grab the user role condition and configure it to check against
diff --git a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldInstanceTest.php b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldInstanceTest.php
index 16e59b38d7..262237ffa7 100644
--- a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldInstanceTest.php
+++ b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldInstanceTest.php
@@ -27,7 +27,7 @@ protected function setUp(): void {
}
/**
- * Test the user picture field migration.
+ * Tests the user picture field migration.
*/
public function testUserPictureField() {
/** @var \Drupal\field\FieldConfigInterface $field */
diff --git a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldTest.php b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldTest.php
index 5dc5fd674f..c814cfad4a 100644
--- a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldTest.php
+++ b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldTest.php
@@ -24,7 +24,7 @@ protected function setUp(): void {
}
/**
- * Test the user picture field migration.
+ * Tests the user picture field migration.
*/
public function testUserPictureField() {
/** @var \Drupal\field\FieldStorageConfigInterface $field_storage */
diff --git a/core/modules/user/tests/src/Kernel/UserDeleteTest.php b/core/modules/user/tests/src/Kernel/UserDeleteTest.php
index 928c095ec2..74ce534041 100644
--- a/core/modules/user/tests/src/Kernel/UserDeleteTest.php
+++ b/core/modules/user/tests/src/Kernel/UserDeleteTest.php
@@ -25,7 +25,7 @@ class UserDeleteTest extends KernelTestBase {
];
/**
- * Test deleting multiple users.
+ * Tests deleting multiple users.
*/
public function testUserDeleteMultiple() {
$this->installSchema('system', ['sequences']);
diff --git a/core/modules/user/tests/src/Kernel/UserInstallTest.php b/core/modules/user/tests/src/Kernel/UserInstallTest.php
index 437205a76a..1fe5cd13a1 100644
--- a/core/modules/user/tests/src/Kernel/UserInstallTest.php
+++ b/core/modules/user/tests/src/Kernel/UserInstallTest.php
@@ -30,7 +30,7 @@ protected function setUp(): void {
}
/**
- * Test that the initial users have correct values.
+ * Tests that the initial users have correct values.
*/
public function testUserInstall() {
$result = Database::getConnection()->query('SELECT u.uid, u.uuid, u.langcode, uf.status FROM {users} u INNER JOIN {users_field_data} uf ON u.uid=uf.uid ORDER BY u.uid')
diff --git a/core/modules/user/tests/src/Kernel/UserSaveStatusTest.php b/core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
index c6b161351b..b00465db33 100644
--- a/core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
+++ b/core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
@@ -25,7 +25,7 @@ protected function setUp(): void {
}
/**
- * Test SAVED_NEW and SAVED_UPDATED statuses for user entity type.
+ * Tests SAVED_NEW and SAVED_UPDATED statuses for user entity type.
*/
public function testUserSaveStatus() {
// Create a new user.
diff --git a/core/modules/user/tests/src/Kernel/WhosOnlineBlockTest.php b/core/modules/user/tests/src/Kernel/WhosOnlineBlockTest.php
index b38a66523b..e512016543 100644
--- a/core/modules/user/tests/src/Kernel/WhosOnlineBlockTest.php
+++ b/core/modules/user/tests/src/Kernel/WhosOnlineBlockTest.php
@@ -69,7 +69,7 @@ protected function setUp(): void {
}
/**
- * Test the Who's Online block.
+ * Tests the Who's Online block.
*/
public function testWhosOnlineBlock() {
$request_time = \Drupal::time()->getRequestTime();
diff --git a/core/modules/user/tests/src/Unit/UserAuthTest.php b/core/modules/user/tests/src/Unit/UserAuthTest.php
index 77f30c8efc..90b97e9fbb 100644
--- a/core/modules/user/tests/src/Unit/UserAuthTest.php
+++ b/core/modules/user/tests/src/Unit/UserAuthTest.php
@@ -189,7 +189,7 @@ public function testAuthenticateWithZeroPassword() {
}
/**
- * Tests the authenticate method with a correct password and new password hash.
+ * Tests the authenticate method with a correct password & new password hash.
*
* @covers ::authenticate
*/
diff --git a/core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php b/core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php
index 7a5c6f0155..1a467131b5 100644
--- a/core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php
+++ b/core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php
@@ -35,7 +35,7 @@ public static function placeholderLazyBuilder() {
}
/**
- * Test pre_render function.
+ * Tests pre_render function.
*
* @param array $element
* A render array.
diff --git a/core/modules/views/tests/src/Functional/DefaultViewsTest.php b/core/modules/views/tests/src/Functional/DefaultViewsTest.php
index a0262ef36d..abf44a8a8b 100644
--- a/core/modules/views/tests/src/Functional/DefaultViewsTest.php
+++ b/core/modules/views/tests/src/Functional/DefaultViewsTest.php
@@ -132,7 +132,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test that all Default views work as expected.
+ * Tests that all Default views work as expected.
*/
public function testDefaultViews() {
// Get all default views.
diff --git a/core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php b/core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
index 0a7608a90c..658cac2913 100644
--- a/core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
+++ b/core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
@@ -62,7 +62,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test access to protected base fields.
+ * Tests access to protected base fields.
*/
public function testProtectedField() {
$this->drupalGet('test-entity-protected-access');
diff --git a/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php b/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php
index ebc904afd0..a0a36f8026 100644
--- a/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php
+++ b/core/modules/views/tests/src/Functional/Handler/FilterDateTest.php
@@ -93,7 +93,7 @@ public function testDateFilter() {
}
/**
- * Test the general offset functionality.
+ * Tests the general offset functionality.
*/
protected function _testOffset() {
$view = Views::getView('test_filter_date_between');
@@ -197,7 +197,7 @@ protected function _testUiValidation() {
}
/**
- * Test date filter UI.
+ * Tests date filter UI.
*/
protected function _testFilterDateUI() {
$this->drupalLogin($this->drupalCreateUser(['administer views']));
@@ -283,7 +283,7 @@ protected function _testFilterDateUI() {
}
/**
- * Test datetime grouped filter UI.
+ * Tests datetime grouped filter UI.
*/
protected function _testFilterDatetimeUI() {
$this->drupalLogin($this->drupalCreateUser(['administer views']));
diff --git a/core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php b/core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
index 8e41e28137..b5bfa71058 100644
--- a/core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
@@ -138,7 +138,7 @@ public function testArgumentDefaultFixed() {
// function testArgumentDefaultPhp() {}
/**
- * Test node default argument.
+ * Tests node default argument.
*/
public function testArgumentDefaultNode() {
// Create a user that has permission to place a view block.
diff --git a/core/modules/views/tests/src/Functional/Plugin/DisplayTest.php b/core/modules/views/tests/src/Functional/Plugin/DisplayTest.php
index bb0d9cc18f..d02ccf9f2c 100644
--- a/core/modules/views/tests/src/Functional/Plugin/DisplayTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/DisplayTest.php
@@ -411,7 +411,7 @@ public function testOutputIsEmpty() {
}
/**
- * Test translation rendering settings based on entity translatability.
+ * Tests translation rendering settings based on entity translatability.
*/
public function testTranslationSetting() {
\Drupal::service('module_installer')->install(['file']);
diff --git a/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php b/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
index 2c21ee18a4..6f523afedf 100644
--- a/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
@@ -254,7 +254,7 @@ public function testExposedBlock() {
}
/**
- * Test the input required exposed form type.
+ * Tests the input required exposed form type.
*/
public function testInputRequired() {
$view = View::load('test_exposed_form_buttons');
@@ -278,7 +278,7 @@ public function testInputRequired() {
}
/**
- * Test the "on demand text" for the input required exposed form type.
+ * Tests the "on demand text" for the input required exposed form type.
*/
public function testTextInputRequired() {
$view = Views::getView('test_exposed_form_buttons');
diff --git a/core/modules/views/tests/src/Functional/Plugin/FilterTest.php b/core/modules/views/tests/src/Functional/Plugin/FilterTest.php
index 4b83891db4..c1b5a9ed96 100644
--- a/core/modules/views/tests/src/Functional/Plugin/FilterTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/FilterTest.php
@@ -56,7 +56,7 @@ protected function viewsData() {
}
/**
- * Test query of the row plugin.
+ * Tests query of the row plugin.
*/
public function testFilterQuery() {
// Check that we can find the test filter plugin.
@@ -151,7 +151,7 @@ public function testFilterQuery() {
}
/**
- * Test no error message is displayed when all options are selected in an
+ * Tests no error message is displayed when all options are selected in an
* exposed filter.
*/
public function testInOperatorSelectAllOptions() {
diff --git a/core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php b/core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php
index f7168ac780..9251980944 100644
--- a/core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php
@@ -59,7 +59,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test that menu links using menu_link_content as parent are visible.
+ * Tests that menu links using menu_link_content as parent are visible.
*/
public function testHierarchicalMenuLinkVisibility() {
$this->drupalLogin($this->adminUser);
diff --git a/core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php b/core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
index 9fe66be0d5..695943ce08 100644
--- a/core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
@@ -41,7 +41,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test plural formatting setting on a numeric views handler.
+ * Tests plural formatting setting on a numeric views handler.
*/
public function testNumericFormatPlural() {
// Create a file.
diff --git a/core/modules/views/tests/src/Functional/Plugin/PagerTest.php b/core/modules/views/tests/src/Functional/Plugin/PagerTest.php
index 07e86145ba..792b770988 100644
--- a/core/modules/views/tests/src/Functional/Plugin/PagerTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/PagerTest.php
@@ -316,7 +316,7 @@ public function testRenderNullPager() {
}
/**
- * Test the api functions on the view object.
+ * Tests the api functions on the view object.
*/
public function testPagerApi() {
$view = Views::getView('test_pager_full');
diff --git a/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php b/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
index c42dc0eabf..f19be8a242 100644
--- a/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
+++ b/core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
@@ -36,7 +36,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test table caption/summary/description.
+ * Tests table caption/summary/description.
*/
public function testAccessibilitySettings() {
$this->drupalGet('test-table');
@@ -87,7 +87,7 @@ public function testAccessibilitySettings() {
}
/**
- * Test table fields in columns.
+ * Tests table fields in columns.
*/
public function testFieldInColumns() {
$this->drupalGet('test-table');
@@ -119,7 +119,7 @@ public function testFieldInColumns() {
}
/**
- * Test that a number with the value of "0" is displayed in the table.
+ * Tests that a number with the value of "0" is displayed in the table.
*/
public function testNumericFieldVisible() {
// Adds a new datapoint in the views_test_data table to have a person with
@@ -146,7 +146,7 @@ public function testNumericFieldVisible() {
}
/**
- * Test that empty columns are hidden when empty_column is set.
+ * Tests that empty columns are hidden when empty_column is set.
*/
public function testEmptyColumn() {
// Empty the 'job' data.
diff --git a/core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php b/core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php
index b53f02c81d..e3d2d77fa3 100644
--- a/core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php
+++ b/core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php
@@ -100,7 +100,7 @@ public function testGlossaryDefault() {
}
/**
- * Test that the glossary also works on a language prefixed URL.
+ * Tests that the glossary also works on a language prefixed URL.
*/
public function testGlossaryLanguagePrefix() {
ConfigurableLanguage::createFromLangcode('nl')->save();
diff --git a/core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php b/core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php
index a0ac868a5d..a78814f90a 100644
--- a/core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php
+++ b/core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php
@@ -55,7 +55,7 @@ protected function setUp(): void {
}
/**
- * Test adding a contextual filter handler through the UI.
+ * Tests adding a contextual filter handler through the UI.
*/
public function testAddContextualFilterUI() {
$this->drupalGet('/admin/structure/views/view/test_field_body');
diff --git a/core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/GroupedExposedFilterTest.php b/core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/GroupedExposedFilterTest.php
index 7c2fc9759c..b8bca37b5a 100644
--- a/core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/GroupedExposedFilterTest.php
+++ b/core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/GroupedExposedFilterTest.php
@@ -71,7 +71,7 @@ protected function setUp(): void {
}
/**
- * Test if the right fields are shown and the right values set.
+ * Tests if the right fields are shown and the right values set.
*/
public function testGroupedFilterValuesUI() {
$web_assert = $this->assertSession();
diff --git a/core/modules/views/tests/src/Kernel/Handler/ComputedFieldTest.php b/core/modules/views/tests/src/Kernel/Handler/ComputedFieldTest.php
index 5b1e81b99c..a91c02d6dd 100644
--- a/core/modules/views/tests/src/Kernel/Handler/ComputedFieldTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/ComputedFieldTest.php
@@ -38,7 +38,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test the computed field handler.
+ * Tests the computed field handler.
*/
public function testComputedFieldHandler() {
\Drupal::state()->set('entity_test_computed_field_item_list_value', ['computed string']);
diff --git a/core/modules/views/tests/src/Kernel/Handler/SortTranslationTest.php b/core/modules/views/tests/src/Kernel/Handler/SortTranslationTest.php
index b6aa0dd12b..50d4f53fba 100644
--- a/core/modules/views/tests/src/Kernel/Handler/SortTranslationTest.php
+++ b/core/modules/views/tests/src/Kernel/Handler/SortTranslationTest.php
@@ -94,7 +94,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test sorting on an untranslated field.
+ * Tests sorting on an untranslated field.
*/
public function testSortbyUntranslatedIntegerField() {
$map = [
diff --git a/core/modules/views/tests/src/Kernel/Plugin/Display/ViewsMenuLinkTest.php b/core/modules/views/tests/src/Kernel/Plugin/Display/ViewsMenuLinkTest.php
index 8edaa2965b..3fa5ed401b 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/Display/ViewsMenuLinkTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/Display/ViewsMenuLinkTest.php
@@ -50,7 +50,7 @@ protected function setUp($import_test_views = TRUE): void {
}
/**
- * Test views internal menu link options.
+ * Tests views internal menu link options.
*/
public function testMenuLinkOverrides() {
// Link from views module.
diff --git a/core/modules/views/tests/src/Kernel/Plugin/DisplayExtenderTest.php b/core/modules/views/tests/src/Kernel/Plugin/DisplayExtenderTest.php
index fc4b2f4024..997415246c 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/DisplayExtenderTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/DisplayExtenderTest.php
@@ -23,7 +23,7 @@ class DisplayExtenderTest extends ViewsKernelTestBase {
public static $testViews = ['test_view'];
/**
- * Test display extenders.
+ * Tests display extenders.
*/
public function testDisplayExtenders() {
$this->config('views.settings')->set('display_extenders', ['display_extender_test'])->save();
@@ -44,7 +44,7 @@ public function testDisplayExtenders() {
}
/**
- * Test display extenders validation.
+ * Tests display extenders validation.
*/
public function testDisplayExtendersValidate() {
$this->config('views.settings')->set('display_extenders', ['display_extender_test_3'])->save();
diff --git a/core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php b/core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php
index 1236ea3adc..4762d073c4 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php
@@ -30,7 +30,7 @@ protected function setUp(): void {
}
/**
- * Test that the token replacement in views works correctly.
+ * Tests that the token replacement in views works correctly.
*/
public function testViewsTokenReplace() {
$text = '{{ langcode__value }} means {{ langcode }}';
@@ -44,7 +44,7 @@ public function testViewsTokenReplace() {
}
/**
- * Test that the token replacement in views works correctly with dots.
+ * Tests that the token replacement in views works correctly with dots.
*/
public function testViewsTokenReplaceWithDots() {
$text = '{{ argument.first }} comes before {{ argument.second }}';
diff --git a/core/modules/views/tests/src/Kernel/Plugin/QueryTest.php b/core/modules/views/tests/src/Kernel/Plugin/QueryTest.php
index e2b19475a7..27223e1b66 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/QueryTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/QueryTest.php
@@ -59,7 +59,7 @@ public function _testQueryExecute() {
}
/**
- * Test methods provided by the QueryPluginBase.
+ * Tests methods provided by the QueryPluginBase.
*
* @see \Drupal\views\Plugin\views\query\QueryPluginBase
*/
diff --git a/core/modules/views/tests/src/Kernel/Plugin/RowRenderCacheTest.php b/core/modules/views/tests/src/Kernel/Plugin/RowRenderCacheTest.php
index a8fdcd3a70..d20c53c1a0 100644
--- a/core/modules/views/tests/src/Kernel/Plugin/RowRenderCacheTest.php
+++ b/core/modules/views/tests/src/Kernel/Plugin/RowRenderCacheTest.php
@@ -81,7 +81,7 @@ protected function setUpFixtures() {
}
/**
- * Test complex field rewriting and uncacheable field handlers.
+ * Tests complex field rewriting and uncacheable field handlers.
*/
public function testAdvancedCaching() {
// Test that row field output is actually cached and with the proper cache
@@ -104,7 +104,7 @@ public function testAdvancedCaching() {
}
/**
- * Test that rows are not cached when the none cache plugin is used.
+ * Tests that rows are not cached when the none cache plugin is used.
*/
public function testNoCaching() {
$this->setCurrentUser($this->regularUser);
diff --git a/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php b/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php
index 8bacd3dcdb..212f249696 100644
--- a/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php
@@ -13,7 +13,7 @@
class QueryParameterTest extends UnitTestCase {
/**
- * Test the getArgument() method.
+ * Tests the getArgument() method.
*
* @covers ::getArgument
* @dataProvider providerGetArgument
diff --git a/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php b/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php
index c3c7dd140d..a153c09a96 100644
--- a/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php
@@ -16,7 +16,7 @@
class RawTest extends UnitTestCase {
/**
- * Test the getArgument() method.
+ * Tests the getArgument() method.
*
* @see \Drupal\views\Plugin\views\argument_default\Raw::getArgument()
*/
diff --git a/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
index 99beba785e..b72947321c 100644
--- a/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
+++ b/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
@@ -210,7 +210,7 @@ protected function setupDisplayWithEmptyArgumentsAndFields() {
}
/**
- * Test rendering as a link without a path.
+ * Tests rendering as a link without a path.
*
* @covers ::renderAsLink
*/
@@ -230,7 +230,7 @@ public function testRenderAsLinkWithoutPath() {
}
/**
- * Test rendering with a more link.
+ * Tests rendering with a more link.
*
* @param string $path
* An internal or external path.
@@ -313,7 +313,7 @@ public function testRenderNoResult() {
}
/**
- * Test rendering of a link with a path and options.
+ * Tests rendering of a link with a path and options.
*
* @dataProvider providerTestRenderAsLinkWithPathAndOptions
* @covers ::renderAsLink
@@ -529,7 +529,7 @@ public function providerTestRenderAsLinkWithUrlAndOptions() {
}
/**
- * Test rendering of a link with a path and options.
+ * Tests rendering of a link with a path and options.
*
* @dataProvider providerTestRenderAsLinkWithPathAndTokens
* @covers ::renderAsLink
@@ -589,7 +589,7 @@ public function providerTestRenderAsLinkWithPathAndTokens() {
}
/**
- * Test rendering of a link with a path and options.
+ * Tests rendering of a link with a path and options.
*
* @dataProvider providerTestRenderAsExternalLinkWithPathAndTokens
* @covers ::renderAsLink
diff --git a/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php b/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
index 922c247177..028b920e53 100644
--- a/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
+++ b/core/modules/views_ui/tests/src/Functional/TokenizeAreaUITest.php
@@ -24,7 +24,7 @@ class TokenizeAreaUITest extends UITestBase {
protected $defaultTheme = 'stark';
/**
- * Test that the right tokens are shown as available for replacement.
+ * Tests that the right tokens are shown as available for replacement.
*/
public function testTokenUI() {
$entity_test = EntityTest::create(['bundle' => 'entity_test']);
diff --git a/core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php b/core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php
index e01b0d044f..04934ca48e 100644
--- a/core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php
+++ b/core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php
@@ -54,7 +54,7 @@ protected function setUp(): void {
}
/**
- * Test the custom state/transition operation access rules.
+ * Tests the custom state/transition operation access rules.
*/
public function testCustomWorkflowAccessOperations() {
$this->drupalLogin($this->adminUser);
diff --git a/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php b/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
index 0b32d35c8e..d547f46428 100644
--- a/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
+++ b/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
@@ -86,7 +86,7 @@ public function testAccess() {
}
/**
- * Test the machine name validation of the state add form.
+ * Tests the machine name validation of the state add form.
*/
public function testStateMachineNameValidation() {
Workflow::create([
@@ -283,7 +283,7 @@ public function testWorkflowCreation() {
}
/**
- * Test the workflow configuration form.
+ * Tests the workflow configuration form.
*/
public function testWorkflowConfigurationForm() {
$workflow = Workflow::create(['id' => 'test', 'type' => 'workflow_type_complex_test', 'label' => 'Test']);
@@ -306,7 +306,7 @@ public function testWorkflowConfigurationForm() {
}
/**
- * Test a workflow, state, and transition can have a numeric ID and label.
+ * Tests a workflow, state, and transition can have a numeric ID and label.
*/
public function testNumericIds() {
$this->drupalLogin($this->createUser(['administer workflows']));
@@ -335,7 +335,7 @@ public function testNumericIds() {
}
/**
- * Test the sorting of states and transitions by weight and label.
+ * Tests the sorting of states and transitions by weight and label.
*/
public function testSorting() {
$workflow = Workflow::create(['id' => 'test', 'type' => 'workflow_type_complex_test', 'label' => 'Test']);
diff --git a/core/modules/workflows/tests/src/Kernel/PredefinedWorkflowTypeTest.php b/core/modules/workflows/tests/src/Kernel/PredefinedWorkflowTypeTest.php
index 2f294fd915..05f343a4d7 100644
--- a/core/modules/workflows/tests/src/Kernel/PredefinedWorkflowTypeTest.php
+++ b/core/modules/workflows/tests/src/Kernel/PredefinedWorkflowTypeTest.php
@@ -18,7 +18,7 @@ class PredefinedWorkflowTypeTest extends KernelTestBase {
protected static $modules = ['workflows', 'workflow_type_test'];
/**
- * Test a predefined workflow type.
+ * Tests a predefined workflow type.
*/
public function testPredefinedWorkflowType() {
$workflow = Workflow::create([
diff --git a/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php b/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php
index deb29bdf85..ce55881a70 100644
--- a/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php
+++ b/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php
@@ -18,7 +18,7 @@
class WorkflowStateTransitionOperationsAccessCheckTest extends UnitTestCase {
/**
- * Test the access method correctly proxies to the entity access system.
+ * Tests the access method correctly proxies to the entity access system.
*
* @covers ::access
* @dataProvider accessTestCases
@@ -46,7 +46,7 @@ public function testAccess($route_requirement, $resulting_entity_access_check, $
}
/**
- * Test cases for ::testAccess.
+ * Tests cases for ::testAccess.
*/
public function accessTestCases() {
return [
@@ -136,7 +136,7 @@ public function testInvalidOperationName($operation_name) {
}
/**
- * Test cases for ::testInvalidOperationName.
+ * Tests cases for ::testInvalidOperationName.
*/
public function invalidOperationNameTestCases() {
return [
diff --git a/core/modules/workflows/tests/src/Unit/WorkflowTest.php b/core/modules/workflows/tests/src/Unit/WorkflowTest.php
index 3d242a1022..5d8ede037b 100644
--- a/core/modules/workflows/tests/src/Unit/WorkflowTest.php
+++ b/core/modules/workflows/tests/src/Unit/WorkflowTest.php
@@ -120,7 +120,7 @@ public function testGetStates() {
}
/**
- * Test numeric IDs when added to a workflow.
+ * Tests numeric IDs when added to a workflow.
*/
public function testNumericIdSorting() {
$workflow = new Workflow(['id' => 'test', 'type' => 'test_type'], 'workflow');
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceConcurrentEditingTest.php b/core/modules/workspaces/tests/src/Functional/WorkspaceConcurrentEditingTest.php
index aa8d415b8b..18cbff771e 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceConcurrentEditingTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceConcurrentEditingTest.php
@@ -24,7 +24,7 @@ class WorkspaceConcurrentEditingTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test editing a node in multiple workspaces.
+ * Tests editing a node in multiple workspaces.
*/
public function testConcurrentEditing() {
// Create a test node.
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceSwitcherTest.php b/core/modules/workspaces/tests/src/Functional/WorkspaceSwitcherTest.php
index dab04abc64..3f0f54c9f4 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceSwitcherTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceSwitcherTest.php
@@ -45,7 +45,7 @@ protected function setUp(): void {
}
/**
- * Test switching workspace via the switcher block and admin page.
+ * Tests switching workspace via the switcher block and admin page.
*/
public function testSwitchingWorkspaces() {
$vultures = $this->createWorkspaceThroughUi('Vultures', 'vultures');
@@ -67,7 +67,7 @@ public function testSwitchingWorkspaces() {
}
/**
- * Test switching workspace via a query parameter.
+ * Tests switching workspace via a query parameter.
*/
public function testQueryParameterNegotiator() {
$web_assert = $this->assertSession();
diff --git a/core/modules/workspaces/tests/src/Functional/WorkspaceTest.php b/core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
index 4490d7ee25..4695cd9c70 100644
--- a/core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
+++ b/core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
@@ -57,7 +57,7 @@ public function setUp(): void {
}
/**
- * Test creating a workspace with special characters.
+ * Tests creating a workspace with special characters.
*/
public function testSpecialCharacters() {
$this->drupalLogin($this->editor1);
@@ -77,7 +77,7 @@ public function testSpecialCharacters() {
}
/**
- * Test that the toolbar correctly shows the active workspace.
+ * Tests that the toolbar correctly shows the active workspace.
*/
public function testWorkspaceToolbar() {
$this->drupalLogin($this->editor1);
@@ -107,7 +107,7 @@ public function testWorkspaceToolbar() {
}
/**
- * Test changing the owner of a workspace.
+ * Tests changing the owner of a workspace.
*/
public function testWorkspaceOwner() {
$this->drupalLogin($this->editor1);
diff --git a/core/modules/workspaces/tests/src/FunctionalJavascript/WorkspaceToolbarIntegrationTest.php b/core/modules/workspaces/tests/src/FunctionalJavascript/WorkspaceToolbarIntegrationTest.php
index 5655fd7b9b..7dcb326d1d 100644
--- a/core/modules/workspaces/tests/src/FunctionalJavascript/WorkspaceToolbarIntegrationTest.php
+++ b/core/modules/workspaces/tests/src/FunctionalJavascript/WorkspaceToolbarIntegrationTest.php
@@ -35,7 +35,7 @@ protected function setUp(): void {
}
/**
- * Test workspace canvas can be toggled with JavaScript.
+ * Tests workspace canvas can be toggled with JavaScript.
*/
public function testWorkspaceCanvasToggling() {
$page = $this->getSession()->getPage();
@@ -59,7 +59,7 @@ public function testWorkspaceCanvasToggling() {
}
/**
- * Test workspace switch and landing page behaviour.
+ * Tests workspace switch and landing page behaviour.
*/
public function testWorkspaceSwitch() {
$page = $this->getSession()->getPage();
diff --git a/core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php b/core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php
index 56c9c71951..1fa6b753c9 100644
--- a/core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php
+++ b/core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php
@@ -45,7 +45,7 @@ protected function setUp(): void {
}
/**
- * Test cases for testWorkspaceAccess().
+ * Tests cases for testWorkspaceAccess().
*
* @return array
* An array of operations and permissions to test with.
diff --git a/core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php b/core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
index d57849fbff..3fe47cd9cd 100644
--- a/core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
+++ b/core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
@@ -1003,7 +1003,7 @@ public function testFormCacheForRegularForms() {
}
/**
- * Test a deployment with fields in dedicated table storage.
+ * Tests a deployment with fields in dedicated table storage.
*/
public function testPublishWorkspaceDedicatedTableStorage() {
$this->initializeWorkspacesModule();
diff --git a/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php b/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php
index 12d9133124..7516dd0c87 100644
--- a/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php
+++ b/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php
@@ -92,7 +92,7 @@ protected function assertDefaultConfig(StorageInterface $default_config_storage,
}
/**
- * Tests that the users can log in with the admin password selected at install.
+ * Tests the users can log in with the admin password selected at install.
*/
public function testUser() {
$password = $this->rootUser->pass_raw;
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php
index 253f18e934..efeb616769 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php
@@ -48,7 +48,7 @@ public function testAjaxWithAdminRoute() {
}
/**
- * Test that AJAX loaded libraries are not retained between requests.
+ * Tests that AJAX loaded libraries are not retained between requests.
*
* @see https://www.drupal.org/node/2647916
*/
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/DialogTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/DialogTest.php
index 3ea9d7aea0..4180085ac0 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/DialogTest.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/DialogTest.php
@@ -24,7 +24,7 @@ class DialogTest extends WebDriverTestBase {
protected $defaultTheme = 'classy';
/**
- * Test sending non-JS and AJAX requests to open and manipulate modals.
+ * Tests sending non-JS and AJAX requests to open and manipulate modals.
*/
public function testDialog() {
$this->drupalLogin($this->drupalCreateUser(['administer contact forms']));
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php
index 04b824c574..2cf7ec751c 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php
@@ -22,7 +22,7 @@ class MessageCommandTest extends WebDriverTestBase {
protected $defaultTheme = 'stark';
/**
- * Test AJAX MessageCommand use in a form.
+ * Tests AJAX MessageCommand use in a form.
*/
public function testMessageCommand() {
$page = $this->getSession()->getPage();
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php
index 451aab62c9..7c28824d15 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php
@@ -22,7 +22,7 @@ class CsrfTokenRaceTest extends WebDriverTestBase {
protected $defaultTheme = 'stark';
/**
- * Test race condition for CSRF tokens for simultaneous requests.
+ * Tests race condition for CSRF tokens for simultaneous requests.
*/
public function testCsrfRace() {
$user = $this->createUser(['access content']);
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Core/JsMessageTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Core/JsMessageTest.php
index ea6a0dedf9..32e6c4531c 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/Core/JsMessageTest.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/Core/JsMessageTest.php
@@ -36,7 +36,7 @@ protected function setUp(): void {
}
/**
- * Test click on links to show messages and remove messages.
+ * Tests click on links to show messages and remove messages.
*/
public function testAddRemoveMessages() {
$web_assert = $this->assertSession();
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php b/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php
index 6cf3ef0066..b42846dac3 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php
@@ -219,7 +219,7 @@ public function waitOnAutocomplete() {
}
/**
- * Test that a node, or its specific corner, is visible in the viewport.
+ * Tests that a node, or its specific corner, is visible in the viewport.
*
* Note: Always set the viewport size. This can be done in your test with
* \Behat\Mink\Session->resizeWindow(). Drupal CI Javascript tests by default
@@ -264,7 +264,7 @@ public function assertVisibleInViewport($selector_type, $selector, $corner = FAL
}
/**
- * Test that a node, or its specific corner, is not visible in the viewport.
+ * Tests that a node, or its specific corner, is not visible in the viewport.
*
* Note: the node should exist in the page, otherwise this assertion fails.
*
diff --git a/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php b/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
index 5bf2f49eba..8fd792b7d2 100644
--- a/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
+++ b/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
@@ -714,7 +714,7 @@ public function testProfileModules() {
}
/**
- * Test the protections provided by .htkey.
+ * Tests the protections provided by .htkey.
*/
public function testHtkey() {
// Remove the Simpletest private key file so we can test the protection
diff --git a/core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php b/core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php
index 28f9c1e567..42f462d20c 100644
--- a/core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php
+++ b/core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php
@@ -24,7 +24,7 @@ class BrowserTestBaseUserAgentTest extends BrowserTestBase {
protected $agent;
/**
- * Test validation of the User-Agent header we use to perform test requests.
+ * Tests validation of the User-Agent header we use to perform test requests.
*/
public function testUserAgentValidation() {
$assert_session = $this->assertSession();
diff --git a/core/tests/Drupal/FunctionalTests/Image/ToolkitSetupFormTest.php b/core/tests/Drupal/FunctionalTests/Image/ToolkitSetupFormTest.php
index af1673318c..1d36d8cf10 100644
--- a/core/tests/Drupal/FunctionalTests/Image/ToolkitSetupFormTest.php
+++ b/core/tests/Drupal/FunctionalTests/Image/ToolkitSetupFormTest.php
@@ -42,7 +42,7 @@ protected function setUp(): void {
}
/**
- * Test Image toolkit setup form.
+ * Tests Image toolkit setup form.
*/
public function testToolkitSetupForm() {
// Get form.
diff --git a/core/tests/Drupal/FunctionalTests/Image/ToolkitTest.php b/core/tests/Drupal/FunctionalTests/Image/ToolkitTest.php
index 3c02f38da9..37cecec390 100644
--- a/core/tests/Drupal/FunctionalTests/Image/ToolkitTest.php
+++ b/core/tests/Drupal/FunctionalTests/Image/ToolkitTest.php
@@ -38,7 +38,7 @@ public function testLoad() {
}
/**
- * Test the image_save() function.
+ * Tests the image_save() function.
*/
public function testSave() {
$this->assertFalse($this->image->save(), 'Function returned the expected value.');
@@ -46,7 +46,7 @@ public function testSave() {
}
/**
- * Test the image_apply() function.
+ * Tests the image_apply() function.
*/
public function testApply() {
$data = ['p1' => 1, 'p2' => TRUE, 'p3' => 'text'];
@@ -62,7 +62,7 @@ public function testApply() {
}
/**
- * Test the image_apply() function.
+ * Tests the image_apply() function.
*/
public function testApplyNoParameters() {
$this->assertTrue($this->image->apply('my_operation'), 'Function returned the expected value.');
diff --git a/core/tests/Drupal/FunctionalTests/MailCaptureTest.php b/core/tests/Drupal/FunctionalTests/MailCaptureTest.php
index 74e2f07ef8..147710ffa7 100644
--- a/core/tests/Drupal/FunctionalTests/MailCaptureTest.php
+++ b/core/tests/Drupal/FunctionalTests/MailCaptureTest.php
@@ -23,7 +23,7 @@ class MailCaptureTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/**
- * Test to see if the wrapper function is executed correctly.
+ * Tests to see if the wrapper function is executed correctly.
*/
public function testMailSend() {
// Create an email.
diff --git a/core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php b/core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php
index 33b4d61ba3..cae6293972 100644
--- a/core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php
+++ b/core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php
@@ -40,7 +40,7 @@ public function testRegressionMissingElementsCss() {
}
/**
- * Test Claro's configuration schema.
+ * Tests Claro's configuration schema.
*/
public function testConfigSchema() {
$this->drupalLogin($this->rootUser);
diff --git a/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php b/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
index 285906f752..27640ee1bc 100644
--- a/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
+++ b/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
@@ -78,7 +78,7 @@ public function testDatabaseLoaded() {
}
/**
- * Test that updates are properly run.
+ * Tests that updates are properly run.
*/
public function testUpdateHookN() {
$connection = Database::getConnection();
@@ -211,7 +211,7 @@ public function testSchemaChecking() {
}
/**
- * Test the database fixtures are setup correctly.
+ * Tests the database fixtures are setup correctly.
*/
public function testFixturesSetup() {
$this->assertCount(3, $this->databaseDumpFiles);
diff --git a/core/tests/Drupal/KernelTests/Core/Action/EmailActionTest.php b/core/tests/Drupal/KernelTests/Core/Action/EmailActionTest.php
index ae69854fa9..4b1f921358 100644
--- a/core/tests/Drupal/KernelTests/Core/Action/EmailActionTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Action/EmailActionTest.php
@@ -28,7 +28,7 @@ protected function setUp(): void {
}
/**
- * Test the email action plugin.
+ * Tests the email action plugin.
*/
public function testEmailAction() {
/** @var \Drupal\Core\Action\ActionManager $plugin_manager */
diff --git a/core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php b/core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
index 4451ec71b3..c8d3c27555 100644
--- a/core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
+++ b/core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
@@ -426,7 +426,7 @@ public function testSetMultiple() {
}
/**
- * Test Drupal\Core\Cache\CacheBackendInterface::delete() and
+ * Tests Drupal\Core\Cache\CacheBackendInterface::delete() and
* Drupal\Core\Cache\CacheBackendInterface::deleteMultiple().
*/
public function testDeleteMultiple() {
@@ -474,7 +474,7 @@ public function testDeleteMultiple() {
}
/**
- * Test Drupal\Core\Cache\CacheBackendInterface::deleteAll().
+ * Tests Drupal\Core\Cache\CacheBackendInterface::deleteAll().
*/
public function testDeleteAll() {
$backend_a = $this->getCacheBackend();
@@ -493,7 +493,7 @@ public function testDeleteAll() {
}
/**
- * Test Drupal\Core\Cache\CacheBackendInterface::invalidate() and
+ * Tests Drupal\Core\Cache\CacheBackendInterface::invalidate() and
* Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().
*/
public function testInvalidate() {
@@ -583,7 +583,7 @@ public function testInvalidateTags() {
}
/**
- * Test Drupal\Core\Cache\CacheBackendInterface::invalidateAll().
+ * Tests Drupal\Core\Cache\CacheBackendInterface::invalidateAll().
*/
public function testInvalidateAll() {
$backend_a = $this->getCacheBackend();
diff --git a/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php b/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
index 33dbc77812..62a0c61265 100644
--- a/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
@@ -158,7 +158,7 @@ protected function setUp(): void {
}
/**
- * Test the command directly.
+ * Tests the command directly.
*/
public function testDbDumpCommand() {
if ($this->skipTests) {
@@ -191,7 +191,7 @@ public function testDbDumpCommand() {
}
/**
- * Test loading the script back into the database.
+ * Tests loading the script back into the database.
*/
public function testScriptLoad() {
if ($this->skipTests) {
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigInstallTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigInstallTest.php
index 0897ef8666..13fdc85d79 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigInstallTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigInstallTest.php
@@ -232,7 +232,7 @@ public function testDependencyChecking() {
}
/**
- * Tests imported configuration entities with and without language information.
+ * Tests imported configuration entities with & without language information.
*/
public function testLanguage() {
$this->installModules(['config_test_language']);
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
index a913fa8b51..558d2fa32e 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
@@ -348,7 +348,7 @@ public function testSchemaData() {
}
/**
- * Test configuration value data type enforcement using schemas.
+ * Tests configuration value data type enforcement using schemas.
*/
public function testConfigSaveWithSchema() {
$untyped_values = [
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php b/core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php
index fc9507e81d..7048ec8f5d 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php
@@ -30,7 +30,7 @@ protected function setUp(): void {
}
/**
- * Test excluding modules from the config export.
+ * Tests excluding modules from the config export.
*/
public function testExcludedModules() {
// Assert that config_test is in the active config.
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php b/core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php
index b6202d36b1..dbb8db4742 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php
@@ -31,7 +31,7 @@ protected function setUp(): void {
}
/**
- * Test getting the export storage.
+ * Tests getting the export storage.
*/
public function testGetStorage() {
// Get the raw system.site config and set it in the sync storage.
@@ -75,7 +75,7 @@ public function testGetStorage() {
}
/**
- * Test the export storage when it is locked.
+ * Tests the export storage when it is locked.
*/
public function testGetStorageLock() {
$lock = $this->createMock('Drupal\Core\Lock\LockBackendInterface');
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php b/core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php
index 2cb9c961f9..2a06ed69e1 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php
@@ -33,7 +33,7 @@ protected function setUp(): void {
}
/**
- * Test the import transformation.
+ * Tests the import transformation.
*/
public function testTransform() {
// Get the raw system.site config and set it in the sync storage.
@@ -61,7 +61,7 @@ public function testTransform() {
}
/**
- * Test that the import transformer throws an exception.
+ * Tests that the import transformer throws an exception.
*/
public function testTransformLocked() {
// Mock the request lock not being available.
@@ -92,7 +92,7 @@ public function testTransformLocked() {
}
/**
- * Test the import transformer during a running config import.
+ * Tests the import transformer during a running config import.
*/
public function testTransformWhileImporting() {
// Set up the database table with the current active config.
diff --git a/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php b/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
index 05748570b1..6ec336f7a2 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
@@ -73,7 +73,7 @@ public function testlistAll() {
}
/**
- * Test UnsupportedDataTypeConfigException displays path of
+ * Tests UnsupportedDataTypeConfigException displays path of
* erroneous file during read.
*/
public function testReadUnsupportedDataTypeConfigException() {
diff --git a/core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php b/core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
index b56e4cc4c1..4ec387c09c 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
@@ -174,7 +174,7 @@ public function testMultipleStatements() {
}
/**
- * Test that the method ::condition() returns a Condition object.
+ * Tests that the method ::condition() returns a Condition object.
*/
public function testCondition() {
$connection = Database::getConnection('default', 'default');
diff --git a/core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php b/core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php
index fb5963a3b5..4764dba9e8 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php
@@ -10,7 +10,7 @@
class SelectCloneTest extends DatabaseTestBase {
/**
- * Test that subqueries as value within conditions are cloned properly.
+ * Tests that subqueries as value within conditions are cloned properly.
*/
public function testSelectConditionSubQueryCloning() {
$subquery = $this->connection->select('test', 't');
diff --git a/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php b/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
index 73b48a1cf3..a44bcfefec 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
@@ -157,7 +157,7 @@ public function testRange() {
}
/**
- * Test whether the range property of a select clause can be undone.
+ * Tests whether the range property of a select clause can be undone.
*/
public function testRangeUndo() {
$query = $this->connection->select('test');
@@ -391,7 +391,7 @@ public function testSelectWithRowCount() {
}
/**
- * Test that join conditions can use Condition objects.
+ * Tests that join conditions can use Condition objects.
*/
public function testJoinConditionObject() {
// Same test as testDefaultJoin, but with a Condition object.
diff --git a/core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php b/core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php
index dbbc40f180..b59d846cb2 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php
@@ -93,7 +93,7 @@ public function testConditionSubquerySelect() {
}
/**
- * Test that we can use a subquery with a relational operator in a WHERE clause.
+ * Tests that we can use a subquery with a relational operator in a WHERE clause.
*/
public function testConditionSubquerySelect2() {
// Create a subquery, which is just a normal query object.
@@ -114,7 +114,7 @@ public function testConditionSubquerySelect2() {
}
/**
- * Test that we can use 2 subqueries with a relational operator in a WHERE clause.
+ * Tests that we can use 2 subqueries with a relational operator in a WHERE clause.
*/
public function testConditionSubquerySelect3() {
// Create subquery 1, which is just a normal query object.
@@ -140,7 +140,7 @@ public function testConditionSubquerySelect3() {
}
/**
- * Test that we can use multiple subqueries.
+ * Tests that we can use multiple subqueries.
*
* This test uses a subquery at the left hand side and multiple subqueries at
* the right hand side. The test query may not be that logical but that's due
diff --git a/core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php b/core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php
index d667d22915..99b5bddc74 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php
@@ -87,7 +87,7 @@ public function testExtenderHasAllTags() {
}
/**
- * Tests extended query tagging "has at least one of these tags" functionality.
+ * Tests extended query tagging "has at least one of these tags".
*/
public function testExtenderHasAnyTag() {
$query = $this->connection->select('test')
diff --git a/core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php b/core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
index 4d161a2b57..ca95f9e2c8 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php
@@ -123,7 +123,7 @@ public function testUpdateOnlyExpression() {
}
/**
- * Test UPDATE with a subselect value.
+ * Tests UPDATE with a subselect value.
*/
public function testSubSelectUpdate() {
$subselect = $this->connection->select('test_task', 't');
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php
index a5bcc73fda..a3a8dcd6d9 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php
@@ -193,7 +193,7 @@ public function dataTestDecoupledPendingRevisions() {
}
/**
- * Test decoupled default revisions.
+ * Tests decoupled default revisions.
*
* @param array[] $sequence
* An array with arrays of arguments for the ::doSaveNewRevision() method as
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
index 1d95a657f8..1c22ecbd28 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
@@ -622,7 +622,7 @@ public function testBaseFieldDeleteWithExistingData($entity_type_id, $create_ent
}
/**
- * Test cases for ::testBaseFieldDeleteWithExistingData.
+ * Tests cases for ::testBaseFieldDeleteWithExistingData.
*/
public function baseFieldDeleteWithExistingDataTestCases() {
return [
@@ -1230,7 +1230,7 @@ public function testInitialValueFromField($default_initial_value, $expected_valu
}
/**
- * Test cases for ::testInitialValueFromField.
+ * Tests cases for ::testInitialValueFromField.
*/
public function initialValueFromFieldTestCases() {
return [
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityDuplicateTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityDuplicateTest.php
index b01f6e4396..c663ebd724 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityDuplicateTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityDuplicateTest.php
@@ -26,7 +26,7 @@ protected function setUp(): void {
}
/**
- * Test duplicating a non-default revision.
+ * Tests duplicating a non-default revision.
*/
public function testDuplicateNonDefaultRevision() {
$entity = EntityTestRev::create([
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php
index 834f04cc27..79a06c936f 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php
@@ -13,7 +13,7 @@
class EntityKeysTest extends EntityKernelTestBase {
/**
- * Test the cache when multiple keys reference a single field.
+ * Tests the cache when multiple keys reference a single field.
*
* @dataProvider multipleKeysCacheTestCases
*/
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
index 6b88d40af0..6daa32c7dd 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
@@ -108,7 +108,7 @@ protected function setUp(): void {
}
/**
- * Test aggregation support.
+ * Tests aggregation support.
*/
public function testAggregation() {
// Apply a simple groupby.
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
index 70d3e9d727..4efa1bcf88 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
@@ -155,7 +155,7 @@ protected function setUp(): void {
}
/**
- * Test basic functionality.
+ * Tests basic functionality.
*/
public function testEntityQuery() {
$greetings = $this->greetings;
@@ -352,7 +352,7 @@ public function testEntityQuery() {
}
/**
- * Test sort().
+ * Tests sort().
*
* Warning: this is complicated.
*/
@@ -443,7 +443,7 @@ public function testSort() {
}
/**
- * Test tablesort().
+ * Tests tablesort().
*/
public function testTableSort() {
// While ordering on bundles do not give us a definite order, we can still
@@ -495,7 +495,7 @@ public function testTableSort() {
}
/**
- * Test that count queries are separated across entity types.
+ * Tests that count queries are separated across entity types.
*/
public function testCount() {
// Create a field with the same name in a different entity type.
@@ -586,7 +586,7 @@ public function testConditionCount() {
}
/**
- * Test queries with delta conditions.
+ * Tests queries with delta conditions.
*/
public function testDelta() {
$figures = $this->figures;
@@ -720,7 +720,7 @@ protected function assertBundleOrder($order) {
}
/**
- * Test adding a tag and metadata to the Entity query object.
+ * Tests adding a tag and metadata to the Entity query object.
*
* The tags and metadata should propagate to the SQL query object.
*/
@@ -736,7 +736,7 @@ public function testMetaData() {
}
/**
- * Test case sensitive and in-sensitive query conditions.
+ * Tests case sensitive and in-sensitive query conditions.
*/
public function testCaseSensitivity() {
$bundle = $this->randomMachineName();
@@ -955,7 +955,7 @@ public function testCaseSensitivity() {
}
/**
- * Test base fields with multiple columns.
+ * Tests base fields with multiple columns.
*/
public function testBaseFieldMultipleColumns() {
$this->enableModules(['taxonomy']);
@@ -994,7 +994,7 @@ public function testBaseFieldMultipleColumns() {
}
/**
- * Test pending revisions.
+ * Tests pending revisions.
*/
public function testPendingRevisions() {
// Ensure entity 14 is returned.
@@ -1094,7 +1094,7 @@ public function testPendingRevisions() {
}
/**
- * Test against SQL inject of condition field. This covers a
+ * Tests against SQL inject of condition field. This covers a
* database driver's EntityQuery\Condition class.
*/
public function testInjectionInCondition() {
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php
index 1d9b8d9a68..384d44aa81 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php
@@ -36,7 +36,7 @@ protected function setUp(): void {
}
/**
- * Test getLoadedRevisionId() returns the correct ID throughout the process.
+ * Tests getLoadedRevisionId() returns the correct ID throughout the process.
*/
public function testLoadedRevisionId() {
// Create a basic EntityTestMulRev entity and save it.
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php
index 630ff68bd7..eab7feedca 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php
@@ -20,7 +20,7 @@
class EntityViewHookTest extends EntityKernelTestBase {
/**
- * Test hook_entity_display_build_alter().
+ * Tests hook_entity_display_build_alter().
*/
public function testHookEntityDisplayBuildAlter() {
entity_test_create_bundle('display_build_alter_bundle');
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php b/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
index 822198606b..5b5b329d60 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
@@ -311,7 +311,7 @@ public function testLongNames() {
}
/**
- * Test trying to update a field with data.
+ * Tests trying to update a field with data.
*/
public function testUpdateFieldSchemaWithData() {
$entity_type = 'entity_test_rev';
@@ -349,7 +349,7 @@ public function testUpdateFieldSchemaWithData() {
}
/**
- * Test that failure to create fields is handled gracefully.
+ * Tests that failure to create fields is handled gracefully.
*/
public function testFieldUpdateFailure() {
// Create a text field.
@@ -388,7 +388,7 @@ public function testFieldUpdateFailure() {
}
/**
- * Test adding and removing indexes while data is present.
+ * Tests adding and removing indexes while data is present.
*/
public function testFieldUpdateIndexesWithData() {
// Create a decimal field.
@@ -445,7 +445,7 @@ public function testFieldUpdateIndexesWithData() {
}
/**
- * Test foreign key support.
+ * Tests foreign key support.
*/
public function testFieldSqlStorageForeignKeys() {
// Create a 'shape' field, with a configurable foreign key (see
diff --git a/core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php b/core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php
index 656e964d95..e81a11de31 100644
--- a/core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php
@@ -42,7 +42,7 @@ protected function setUp(): void {
}
/**
- * Test the module configure routes exist.
+ * Tests the module configure routes exist.
*
* @dataProvider coreModuleListDataProvider
*/
diff --git a/core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php b/core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php
index 39ee9a6aee..ad10b6bc2b 100644
--- a/core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php
@@ -50,7 +50,7 @@ public function testGetClass($field_type, $base_field_class, $expected_override_
}
/**
- * Test cases for ::testGetClass.
+ * Tests cases for ::testGetClass.
*/
public function getClassTestCases() {
return [
@@ -68,7 +68,7 @@ public function getClassTestCases() {
}
/**
- * Test the default value callback.
+ * Tests the default value callback.
*/
public function testDefaultValueCallback() {
$base_field = BaseFieldDefinition::create('entity_reference')
diff --git a/core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php b/core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
index 1726cc3527..3cce343368 100644
--- a/core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
+++ b/core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
@@ -30,7 +30,7 @@ protected function setUp(): void {
}
/**
- * Test local directory handling functions.
+ * Tests local directory handling functions.
*/
public function testFileCheckLocalDirectoryHandling() {
$site_path = $this->container->getParameter('site.path');
@@ -71,7 +71,7 @@ public function testFileCheckLocalDirectoryHandling() {
}
/**
- * Test directory handling functions.
+ * Tests directory handling functions.
*/
public function testFileCheckDirectoryHandling() {
// A directory to operate on.
diff --git a/core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php b/core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php
index 5424834ac4..098cb1c09d 100644
--- a/core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php
+++ b/core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php
@@ -12,7 +12,7 @@
class FileSaveDataTest extends FileTestBase {
/**
- * Test the file_unmanaged_save_data() function.
+ * Tests the file_unmanaged_save_data() function.
*/
public function testFileSaveData() {
$contents = $this->randomMachineName(8);
diff --git a/core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php b/core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php
index 40f278b2b9..45df1b1fdc 100644
--- a/core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php
+++ b/core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php
@@ -19,7 +19,7 @@ class MimeTypeTest extends FileTestBase {
protected static $modules = ['file_test'];
/**
- * Test mapping of mimetypes from filenames.
+ * Tests mapping of mimetypes from filenames.
*/
public function testFileMimeTypeDetection() {
$prefixes = ['public://', 'private://', 'temporary://', 'dummy-remote://'];
diff --git a/core/tests/Drupal/KernelTests/Core/File/ReadOnlyStreamWrapperTest.php b/core/tests/Drupal/KernelTests/Core/File/ReadOnlyStreamWrapperTest.php
index 6c25fab06e..5f8d6eadf3 100644
--- a/core/tests/Drupal/KernelTests/Core/File/ReadOnlyStreamWrapperTest.php
+++ b/core/tests/Drupal/KernelTests/Core/File/ReadOnlyStreamWrapperTest.php
@@ -27,7 +27,7 @@ class ReadOnlyStreamWrapperTest extends FileTestBase {
protected $classname = 'Drupal\file_test\StreamWrapper\DummyReadOnlyStreamWrapper';
/**
- * Test read-only specific behavior.
+ * Tests read-only specific behavior.
*/
public function testReadOnlyBehavior() {
$type = DummyReadOnlyStreamWrapper::getType();
diff --git a/core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php b/core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php
index 80ef0c0cef..ddc0288359 100644
--- a/core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php
+++ b/core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php
@@ -46,7 +46,7 @@ public function setUp(): void {
}
/**
- * Test the getClassName() function.
+ * Tests the getClassName() function.
*/
public function testGetClassName() {
// Check the dummy scheme.
@@ -56,7 +56,7 @@ public function testGetClassName() {
}
/**
- * Test the getViaScheme() method.
+ * Tests the getViaScheme() method.
*/
public function testGetInstanceByScheme() {
$instance = \Drupal::service('stream_wrapper_manager')->getViaScheme($this->scheme);
@@ -67,7 +67,7 @@ public function testGetInstanceByScheme() {
}
/**
- * Test the getViaUri() and getViaScheme() methods and target functions.
+ * Tests the getViaUri() and getViaScheme() methods and target functions.
*/
public function testUriFunctions() {
$config = $this->config('system.file');
@@ -108,7 +108,7 @@ public function testUriFunctions() {
}
/**
- * Test some file handle functions.
+ * Tests some file handle functions.
*/
public function testFileFunctions() {
$filename = 'public://' . $this->randomMachineName();
@@ -140,7 +140,7 @@ public function testFileFunctions() {
}
/**
- * Test the scheme functions.
+ * Tests the scheme functions.
*/
public function testGetValidStreamScheme() {
diff --git a/core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php b/core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php
index a0fcdb78d9..ebd860b969 100644
--- a/core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php
+++ b/core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php
@@ -94,7 +94,7 @@ public function testPublicManagedFileURL() {
}
/**
- * Test file_url_transform_relative().
+ * Tests file_url_transform_relative().
*/
public function testRelativeFileURL() {
// Disable file_test.module's hook_file_url_alter() implementation.
diff --git a/core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php b/core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php
index ac305022ff..4f752ea904 100644
--- a/core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php
@@ -124,7 +124,7 @@ public function testAddWithDuplicates() {
}
/**
- * Test adding markup.
+ * Tests adding markup.
*
* @covers ::addStatus
* @covers ::deleteByType
diff --git a/core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterLatestRevisionTest.php b/core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterLatestRevisionTest.php
index 5af86b2ad8..9e06a63b20 100644
--- a/core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterLatestRevisionTest.php
+++ b/core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterLatestRevisionTest.php
@@ -175,7 +175,7 @@ public function testOptimizedConvert() {
}
/**
- * Test the latest revision flag and non-revisionable entities.
+ * Tests the latest revision flag and non-revisionable entities.
*/
public function testConvertNonRevisionableEntityType() {
$entity = EntityTest::create();
diff --git a/core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php b/core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php
index 0178bb546a..12ff3a52cc 100644
--- a/core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php
@@ -17,7 +17,7 @@ class FactoryTest extends PluginTestBase {
protected static $modules = ['node', 'user'];
/**
- * Test that DefaultFactory can create a plugin instance.
+ * Tests that DefaultFactory can create a plugin instance.
*/
public function testDefaultFactory() {
// Ensure a non-derivative plugin can be instantiated.
@@ -40,7 +40,7 @@ public function testDefaultFactory() {
}
/**
- * Test that the Reflection factory can create a plugin instance.
+ * Tests that the Reflection factory can create a plugin instance.
*
* The mock plugin classes use different values for their constructors
* allowing us to test the reflection capabilities as well.
diff --git a/core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php b/core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
index a7dc9fc495..2a847db59c 100644
--- a/core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Render/Element/TableTest.php
@@ -111,7 +111,7 @@ public function testThemeTableWithNoStriping() {
}
/**
- * Test that the 'footer' option works correctly.
+ * Tests that the 'footer' option works correctly.
*/
public function testThemeTableFooter() {
$footer = [
diff --git a/core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php b/core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php
index 018c1d1c6d..0f03ec2d78 100644
--- a/core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php
@@ -28,7 +28,7 @@ protected function setUp(): void {
}
/**
- * Test existing #default_value value in #options list.
+ * Tests existing #default_value value in #options list.
*
* @covers ::processWeight
*/
@@ -52,7 +52,7 @@ public function testProcessWeight() {
}
/**
- * Test transformation from "select" to "number" for MAX_DELTA + 1.
+ * Tests transformation from "select" to "number" for MAX_DELTA + 1.
*
* @throws \Exception
*
diff --git a/core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php b/core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
index 410cc41473..e99e9f26a6 100644
--- a/core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
@@ -611,7 +611,7 @@ public function testRouteCaching() {
}
/**
- * Test RouteProvider::getRouteByName() and RouteProvider::getRoutesByNames().
+ * Tests RouteProvider::getRouteByName() & RouteProvider::getRoutesByNames().
*/
public function testRouteByName() {
$connection = Database::getConnection();
diff --git a/core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php b/core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
index 21b4931e31..f489fe6dfa 100644
--- a/core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
@@ -191,7 +191,7 @@ public function register(ContainerBuilder $container) {
}
/**
- * Test template invalidation.
+ * Tests template invalidation.
*/
public function testTemplateInvalidation() {
$template_before = <<createMock('Drupal\Core\Routing\RouteMatchInterface');
diff --git a/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php
index 827beedac6..addef57973 100644
--- a/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php
+++ b/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php
@@ -39,7 +39,7 @@ protected function setUp(): void {
}
/**
- * Test the access method.
+ * Tests the access method.
*/
public function testAccess() {
$request = new Request([]);
diff --git a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
index 82eafe6c78..7d3b570e70 100644
--- a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
@@ -81,7 +81,7 @@ protected function setUp(): void {
}
/**
- * Test the get feature.
+ * Tests the get feature.
*/
public function testGet() {
$cached = $this->chain->get('t123');
@@ -98,7 +98,7 @@ public function testGet() {
}
/**
- * Test the get multiple feature.
+ * Tests the get multiple feature.
*/
public function testGetMultiple() {
$cids = ['t123', 't23', 't3', 't4'];
@@ -116,7 +116,7 @@ public function testGetMultiple() {
}
/**
- * Test that set will propagate.
+ * Tests that set will propagate.
*/
public function testSet() {
$this->chain->set('test', 123);
@@ -135,7 +135,7 @@ public function testSet() {
}
/**
- * Test that delete will propagate.
+ * Tests that delete will propagate.
*/
public function testDelete() {
$this->chain->set('test', 5);
@@ -192,7 +192,7 @@ public function testGetMultipleHasPropagated() {
}
/**
- * Test that the delete all operation is propagated to all backends in the chain.
+ * Tests that the delete all operation is propagated to all backends in the chain.
*/
public function testDeleteAllPropagation() {
// Set both expiring and permanent keys.
@@ -209,7 +209,7 @@ public function testDeleteAllPropagation() {
}
/**
- * Test that the delete tags operation is propagated to all backends
+ * Tests that the delete tags operation is propagated to all backends
* in the chain.
*/
public function testDeleteTagsPropagation() {
@@ -286,7 +286,7 @@ public function testDeleteTagsPropagation() {
}
/**
- * Test that removing bin propagates to all backends.
+ * Tests that removing bin propagates to all backends.
*/
public function testRemoveBin() {
$chain = new BackendChain();
diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php
index 40dcd82657..2876d7177b 100644
--- a/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php
+++ b/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php
@@ -14,7 +14,7 @@
class CacheFactoryTest extends UnitTestCase {
/**
- * Test that the cache factory falls back to the built-in default service.
+ * Tests that the cache factory falls back to the built-in default service.
*
* @covers ::__construct
* @covers ::get
@@ -40,7 +40,7 @@ public function testCacheFactoryWithDefaultSettings() {
}
/**
- * Test that the cache factory falls back to customized default service.
+ * Tests that the cache factory falls back to customized default service.
*
* @covers ::__construct
* @covers ::get
@@ -70,7 +70,7 @@ public function testCacheFactoryWithCustomizedDefaultBackend() {
}
/**
- * Test that the cache factory uses the correct default bin backend.
+ * Tests that the cache factory uses the correct default bin backend.
*
* @covers ::__construct
* @covers ::get
@@ -106,7 +106,7 @@ public function testCacheFactoryWithDefaultBinBackend() {
}
/**
- * Test that the cache factory picks the correct per-bin service.
+ * Tests that the cache factory picks the correct per-bin service.
*
* @covers ::__construct
* @covers ::get
diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
index 5827622f22..b59e996f9a 100644
--- a/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
+++ b/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
@@ -103,7 +103,7 @@ public function testAddCacheTags() {
}
/**
- * Test valid and invalid values as max age.
+ * Tests valid and invalid values as max age.
*
* @covers ::setCacheMaxAge
* @dataProvider providerSetCacheMaxAge
diff --git a/core/tests/Drupal/Tests/Core/Common/AttributesTest.php b/core/tests/Drupal/Tests/Core/Common/AttributesTest.php
index b2ddd5e365..f11c967ad4 100644
--- a/core/tests/Drupal/Tests/Core/Common/AttributesTest.php
+++ b/core/tests/Drupal/Tests/Core/Common/AttributesTest.php
@@ -57,7 +57,7 @@ public function testDrupalAttributes($attributes, $expected, $message) {
}
/**
- * Test attribute iteration
+ * Tests attribute iteration
*/
public function testAttributeIteration() {
$attribute = new Attribute(['key1' => 'value1']);
@@ -67,7 +67,7 @@ public function testAttributeIteration() {
}
/**
- * Test AttributeValueBase copy.
+ * Tests AttributeValueBase copy.
*/
public function testAttributeValueBaseCopy() {
$original_attributes = new Attribute([
diff --git a/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php b/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php
index 9d4d8a1993..8c1b18dbce 100644
--- a/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php
@@ -19,7 +19,7 @@ class CachedStorageTest extends UnitTestCase {
protected $cacheFactory;
/**
- * Test listAll static cache.
+ * Tests listAll static cache.
*/
public function testListAllStaticCache() {
$prefix = __FUNCTION__;
diff --git a/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php b/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php
index 6ffacdd785..a487e0adfe 100644
--- a/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php
+++ b/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php
@@ -14,7 +14,7 @@
class NullStorageTest extends UnitTestCase {
/**
- * Test createCollection.
+ * Tests createCollection.
*/
public function testCollection() {
$nullStorage = new NullStorage();
diff --git a/core/tests/Drupal/Tests/Core/Database/ConditionTest.php b/core/tests/Drupal/Tests/Core/Database/ConditionTest.php
index 47a2eba20c..8a96274290 100644
--- a/core/tests/Drupal/Tests/Core/Database/ConditionTest.php
+++ b/core/tests/Drupal/Tests/Core/Database/ConditionTest.php
@@ -179,7 +179,7 @@ public function providerTestCompileWithSqlInjectionForOperator() {
}
/**
- * Test that the core Condition can be overridden.
+ * Tests that the core Condition can be overridden.
*/
public function testContribCondition() {
$mockCondition = $this->getMockBuilder(Condition::class)
diff --git a/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php b/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
index 528e248b95..234c37c96f 100644
--- a/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
+++ b/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
@@ -306,7 +306,7 @@ public function providerSchema() {
}
/**
- * Test Connection::schema().
+ * Tests Connection::schema().
*
* @dataProvider providerSchema
*/
@@ -318,7 +318,7 @@ public function testSchema($expected, $driver, $namespace) {
}
/**
- * Test Connection::destroy().
+ * Tests Connection::destroy().
*/
public function testDestroy() {
$mock_pdo = $this->createMock('Drupal\Tests\Core\Database\Stub\StubPDO');
@@ -362,7 +362,7 @@ public function providerMakeComments() {
}
/**
- * Test Connection::makeComments().
+ * Tests Connection::makeComments().
*
* @dataProvider providerMakeComments
*/
@@ -389,7 +389,7 @@ public function providerFilterComments() {
}
/**
- * Test Connection::filterComments().
+ * Tests Connection::filterComments().
*
* @dataProvider providerFilterComments
*/
diff --git a/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php b/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php
index 7de762a5cd..93ffaf2a54 100644
--- a/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php
+++ b/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php
@@ -205,7 +205,7 @@ public function providerConvertDbUrlToConnectionInfo() {
}
/**
- * Test ::convertDbUrlToConnectionInfo() exception for invalid arguments.
+ * Tests ::convertDbUrlToConnectionInfo() exception for invalid arguments.
*
* @dataProvider providerInvalidArgumentsUrlConversion
*/
@@ -357,7 +357,7 @@ public function providerGetConnectionInfoAsUrl() {
}
/**
- * Test ::getConnectionInfoAsUrl() exception for invalid arguments.
+ * Tests ::getConnectionInfoAsUrl() exception for invalid arguments.
*
* @covers ::getConnectionInfoAsUrl
*
diff --git a/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php b/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php
index 2809db08b9..ad3008d69d 100644
--- a/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php
+++ b/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php
@@ -12,7 +12,7 @@
class DrupalDateTimeTest extends UnitTestCase {
/**
- * Test date diffs.
+ * Tests date diffs.
*
* @param mixed $input1
* A DrupalDateTime object.
@@ -31,7 +31,7 @@ public function testDateDiff($input1, $input2, $absolute, \DateInterval $expecte
}
/**
- * Test date diff exception caused by invalid input.
+ * Tests date diff exception caused by invalid input.
*
* @param mixed $input1
* A DateTimePlus object.
diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
index f5b5e84851..980d5198b8 100644
--- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
+++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
@@ -401,7 +401,7 @@ public function testProcessWithIdAndExtraArguments() {
}
/**
- * Tests consumer method with priority and extra parameters in different order.
+ * Tests consumer method with priority & extra parameters in different order.
*
* @covers ::process
*/
diff --git a/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php b/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php
index 8b25249131..ef677e4c09 100644
--- a/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php
+++ b/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php
@@ -13,7 +13,7 @@
class DrupalLogErrorTest extends UnitTestCase {
/**
- * Test that fatal errors return a non-zero exit code.
+ * Tests that fatal errors return a non-zero exit code.
*/
public function testFatalExitCode() {
$script = <<<'EOT'
diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php
index b63ada467e..5a086128aa 100644
--- a/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php
+++ b/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php
@@ -65,7 +65,7 @@ protected function setUp(): void {
}
/**
- * Test destination detection and redirection.
+ * Tests destination detection and redirection.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* The request object with destination query set.
diff --git a/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php b/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
index b5559fb263..255dcd1863 100644
--- a/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
+++ b/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
@@ -48,7 +48,7 @@ public function testInfoParserNonExisting() {
}
/**
- * Test if correct exception is thrown for a broken info file.
+ * Tests if correct exception is thrown for a broken info file.
*
* @covers ::parse
*/
@@ -616,7 +616,7 @@ public function providerCoreIncompatibility() {
}
/**
- * Test a profile info file.
+ * Tests a profile info file.
*/
public function testProfile() {
$profile = <<lock->getLockId();
diff --git a/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php b/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php
index 395517f51f..996ea54c2f 100644
--- a/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php
+++ b/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php
@@ -12,7 +12,7 @@
class LogMessageParserTest extends UnitTestCase {
/**
- * Test for LogMessageParserTrait::parseMessagePlaceholders()
+ * Tests for LogMessageParserTrait::parseMessagePlaceholders()
*
* @param array $value
* An array containing:
diff --git a/core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php b/core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php
index 26b2a385bf..2c26a197da 100644
--- a/core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php
+++ b/core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php
@@ -77,7 +77,7 @@ public function testWithinBounds() {
}
/**
- * Test a password needs update.
+ * Tests a password needs update.
*
* @covers ::needsRehash
*/
@@ -87,7 +87,7 @@ public function testPasswordNeedsUpdate() {
}
/**
- * Test password hashing.
+ * Tests password hashing.
*
* @covers ::hash
* @covers ::getCountLog2
diff --git a/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php b/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php
index 938356ce30..f844728f95 100644
--- a/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php
+++ b/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php
@@ -36,7 +36,7 @@ protected function setUp(): void {
}
/**
- * Test that standard paths works with multiple patterns.
+ * Tests that standard paths works with multiple patterns.
*
* @dataProvider getMatchPathData
*/
diff --git a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php
index 606ffae698..eac05d59f3 100644
--- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php
+++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php
@@ -18,7 +18,7 @@
class PathProcessorFrontTest extends UnitTestCase {
/**
- * Test basic inbound processing functionality.
+ * Tests basic inbound processing functionality.
*
* @covers ::processInbound
* @dataProvider providerProcessInbound
@@ -52,7 +52,7 @@ public function providerProcessInbound() {
}
/**
- * Test inbound failure with broken config.
+ * Tests inbound failure with broken config.
*
* @covers ::processInbound
*/
@@ -69,7 +69,7 @@ public function testProcessInboundBadConfig() {
}
/**
- * Test basic outbound processing functionality.
+ * Tests basic outbound processing functionality.
*
* @covers ::processOutbound
* @dataProvider providerProcessOutbound
diff --git a/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php b/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
index 53d872e710..535cc4b0aa 100644
--- a/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
+++ b/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
@@ -449,7 +449,7 @@ public function testBaseURLGeneration() {
}
/**
- * Test that the 'scheme' route requirement is respected during url generation.
+ * Tests that the 'scheme' route requirement is respected during url generation.
*/
public function testUrlGenerationWithHttpsRequirement() {
$url = $this->generator->generate('test_4', [], TRUE);
diff --git a/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php b/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php
index 0d83d8de3a..b6bcad7b31 100644
--- a/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php
+++ b/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php
@@ -14,7 +14,7 @@
class YamlTest extends UnitTestCase {
/**
- * Test that the overridden serializer is called.
+ * Tests that the overridden serializer is called.
*
* @covers ::getSerializer
* @runInSeparateProcess
diff --git a/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php b/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php
index b3e52305d1..ce26222e58 100644
--- a/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php
+++ b/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php
@@ -87,7 +87,7 @@ public function testUnknowContentTypeButAjaxRequest() {
}
/**
- * Test that handle() correctly hands off to sub application.
+ * Tests that handle() correctly hands off to sub application.
*
* @covers ::handle
*/
diff --git a/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php b/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php
index b0708408b5..88e4da07f4 100644
--- a/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php
+++ b/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php
@@ -81,7 +81,7 @@ public function testGetHttpClientException() {
}
/**
- * Test that tearDown doesn't call cleanupEnvironment if setUp is not called.
+ * Tests that tearDown doesn't call cleanupEnvironment if setUp is not called.
*
* @covers ::tearDown
*/
diff --git a/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php b/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php
index 500f4a3b57..8d3cf8c8d5 100644
--- a/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php
+++ b/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php
@@ -22,7 +22,7 @@
class JUnitConverterTest extends UnitTestCase {
/**
- * Test errors reported.
+ * Tests errors reported.
* @covers ::xmlToRows
*/
public function testXmlToRowsWithErrors() {
diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php
index a6d30b23b8..919d588cc6 100644
--- a/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php
+++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php
@@ -12,7 +12,7 @@
class PhpUnitAutoloaderTest extends UnitTestCase {
/**
- * Test loading of classes provided by test sub modules.
+ * Tests loading of classes provided by test sub modules.
*/
public function testPhpUnitTestClassesLoading() {
$this->assertTrue(class_exists('\Drupal\phpunit_test\PhpUnitTestDummyClass'), 'Class provided by test module was not autoloaded.');
diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php
index bd62c430c6..8b5767125a 100644
--- a/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php
+++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php
@@ -15,7 +15,7 @@
class PhpUnitTestRunnerTest extends UnitTestCase {
/**
- * Test an error in the test running phase.
+ * Tests an error in the test running phase.
*
* @covers ::runTests
*/
diff --git a/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
index 2a76f05476..6d84f65a21 100644
--- a/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
+++ b/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
@@ -379,7 +379,7 @@ public function testGetTestClasses() {
'example' => [
'Drupal\Tests\test_module\Functional\FunctionalExampleTest' => [
'name' => 'Drupal\Tests\test_module\Functional\FunctionalExampleTest',
- 'description' => 'Test description',
+ 'description' => 'Tests description',
'group' => 'example',
'groups' => ['example'],
'type' => 'PHPUnit-Functional',
@@ -388,14 +388,14 @@ public function testGetTestClasses() {
'example2' => [
'Drupal\Tests\test_module\Functional\FunctionalExampleTest2' => [
'name' => 'Drupal\Tests\test_module\Functional\FunctionalExampleTest2',
- 'description' => 'Test description',
+ 'description' => 'Tests description',
'group' => 'example2',
'groups' => ['example2'],
'type' => 'PHPUnit-Functional',
],
'Drupal\Tests\test_module\Kernel\KernelExampleTest3' => [
'name' => 'Drupal\Tests\test_module\Kernel\KernelExampleTest3',
- 'description' => 'Test description',
+ 'description' => 'Tests description',
'group' => 'example2',
'groups' => ['example2', 'kernel'],
'type' => 'PHPUnit-Kernel',
@@ -404,7 +404,7 @@ public function testGetTestClasses() {
'kernel' => [
'Drupal\Tests\test_module\Kernel\KernelExampleTest3' => [
'name' => 'Drupal\Tests\test_module\Kernel\KernelExampleTest3',
- 'description' => 'Test description',
+ 'description' => 'Tests description',
'group' => 'example2',
'groups' => ['example2', 'kernel'],
'type' => 'PHPUnit-Kernel',
@@ -450,7 +450,7 @@ public function testGetTestClassesWithSelectedTypes() {
'example2' => [
'Drupal\Tests\test_module\Kernel\KernelExampleTest3' => [
'name' => 'Drupal\Tests\test_module\Kernel\KernelExampleTest3',
- 'description' => 'Test description',
+ 'description' => 'Tests description',
'group' => 'example2',
'groups' => ['example2', 'kernel'],
'type' => 'PHPUnit-Kernel',
@@ -459,7 +459,7 @@ public function testGetTestClassesWithSelectedTypes() {
'kernel' => [
'Drupal\Tests\test_module\Kernel\KernelExampleTest3' => [
'name' => 'Drupal\Tests\test_module\Kernel\KernelExampleTest3',
- 'description' => 'Test description',
+ 'description' => 'Tests description',
'group' => 'example2',
'groups' => ['example2', 'kernel'],
'type' => 'PHPUnit-Kernel',
@@ -468,7 +468,7 @@ public function testGetTestClassesWithSelectedTypes() {
'example3' => [
'Drupal\Tests\test_profile_module\Kernel\KernelExampleTest4' => [
'name' => 'Drupal\Tests\test_profile_module\Kernel\KernelExampleTest4',
- 'description' => 'Test description',
+ 'description' => 'Tests description',
'group' => 'example3',
'groups' => ['example3'],
'type' => 'PHPUnit-Kernel',
@@ -497,7 +497,7 @@ public function testGetTestsInProfiles() {
'example3' => [
'Drupal\Tests\test_profile_module\Kernel\KernelExampleTest4' => [
'name' => 'Drupal\Tests\test_profile_module\Kernel\KernelExampleTest4',
- 'description' => 'Test description',
+ 'description' => 'Tests description',
'group' => 'example3',
'groups' => ['example3'],
'type' => 'PHPUnit-Kernel',