diff --git a/core/modules/config/src/Tests/ConfigImportRecreateTest.php b/core/modules/config/src/Tests/ConfigImportRecreateTest.php index 3d860e5..30dfd7d 100644 --- a/core/modules/config/src/Tests/ConfigImportRecreateTest.php +++ b/core/modules/config/src/Tests/ConfigImportRecreateTest.php @@ -86,7 +86,7 @@ public function testRecreateEntity() { $content_type->save(); $this->configImporter->reset(); - // A node type a field, an entity view display and an entity form display + // A node type, a field, an entity view display and an entity form display // will be recreated. $creates = $this->configImporter->getUnprocessedConfiguration('create'); $deletes = $this->configImporter->getUnprocessedConfiguration('delete'); diff --git a/core/modules/hal/src/Tests/NormalizerTestBase.php b/core/modules/hal/src/Tests/NormalizerTestBase.php index 7046201..621ce33 100644 --- a/core/modules/hal/src/Tests/NormalizerTestBase.php +++ b/core/modules/hal/src/Tests/NormalizerTestBase.php @@ -64,9 +64,9 @@ protected function setUp() { $this->installSchema('system', array('url_alias', 'router')); $this->installEntitySchema('user'); $this->installEntitySchema('entity_test'); - // If the class has node in the list of module install the entity schema - // since node provides a body field storage that causes tables to be created - // before the entity tables. + // If the test installs the Node module we need to install the node entity + // schema. This is because the Node module provides a body field storage + // that would cause tables to be created before the entity tables. $class = get_class($this); while ($class) { if (property_exists($class, 'modules')) { diff --git a/core/modules/node/src/Tests/NodeBodyFieldStorageTest.php b/core/modules/node/src/Tests/NodeBodyFieldStorageTest.php index a4d6fce..f4c56ce 100644 --- a/core/modules/node/src/Tests/NodeBodyFieldStorageTest.php +++ b/core/modules/node/src/Tests/NodeBodyFieldStorageTest.php @@ -32,7 +32,7 @@ class NodeBodyFieldStorageTest extends KernelTestBase { protected function setUp() { parent::setUp(); $this->installSchema('system', 'sequences'); - // For module unsintall. + // Necessary for module uninstall. $this->installSchema('user', 'users_data'); $this->installEntitySchema('user'); $this->installEntitySchema('node'); diff --git a/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php b/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php index d1a5ae7..cc3150a 100644 --- a/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php +++ b/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php @@ -47,9 +47,9 @@ protected function setUp() { $this->installEntitySchema('user'); $this->installEntitySchema('entity_test'); - // If the class has node in the list of module install the entity schema - // since node provides a body field storage that causes tables to be created - // before the entity tables. + // If the test installs the Node module we need to install the node entity + // schema. This is because the Node module provides a body field storage + // that would cause tables to be created before the entity tables. $class = get_class($this); while ($class) { if (property_exists($class, 'modules')) {