diff --git a/core/modules/content_moderation/tests/src/Kernel/ContentModertaionWorkflowTypeApiTest.php b/core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php similarity index 90% rename from core/modules/content_moderation/tests/src/Kernel/ContentModertaionWorkflowTypeApiTest.php rename to core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php index 37464e0c2a84f9a1b6ffdeb339ac2d243ceaea7a..5de2ced4856a11cab14aaf6404bcbc3760e74c70 100644 --- a/core/modules/content_moderation/tests/src/Kernel/ContentModertaionWorkflowTypeApiTest.php +++ b/core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php @@ -12,7 +12,7 @@ * * @coversDefaultClass \Drupal\content_moderation\Plugin\WorkflowType\ContentModeration */ -class ContentModertaionWorkflowTypeApiTest extends KernelTestBase { +class ContentModerationWorkflowTypeApiTest extends KernelTestBase { /** * A workflow for testing. @@ -50,8 +50,8 @@ protected function setUp() { public function testGetBundlesForEntityType() { /** @var \Drupal\content_moderation\Plugin\WorkflowType\ContentModeration $workflow_plugin */ $workflow_plugin = $this->workflow->getTypePlugin(); - // The content moderation plugin does not valid the existence of the entity - // type or bundle. + // The content moderation plugin does not validate the existence of the + // entity type or bundle. $this->assertEquals([], $workflow_plugin->getBundlesForEntityType('fake_node')); $workflow_plugin->addEntityTypeAndBundle('fake_node', 'fake_page'); $this->assertEquals(['fake_page'], $workflow_plugin->getBundlesForEntityType('fake_node')); @@ -68,8 +68,8 @@ public function testGetBundlesForEntityType() { public function testAppliesToEntityTypeAndBundle() { /** @var \Drupal\content_moderation\Plugin\WorkflowType\ContentModeration $workflow_plugin */ $workflow_plugin = $this->workflow->getTypePlugin(); - // The content moderation plugin does not valid the existence of the entity - // type or bundle. + // The content moderation plugin does not validate the existence of the + // entity type or bundle. $this->assertFalse($workflow_plugin->appliesToEntityTypeAndBundle('fake_node', 'fake_page')); $workflow_plugin->addEntityTypeAndBundle('fake_node', 'fake_page'); $this->assertTrue($workflow_plugin->appliesToEntityTypeAndBundle('fake_node', 'fake_page'));