Problem/Motivation

I just noticed a small typo in a patch I've already committed:

+++ b/core/modules/content_moderation/tests/src/Kernel/ContentModertaionWorkflowTypeApiTest.php
@@ -0,0 +1,81 @@
+    // The content moderation plugin does not valid the existence of the entity
+    // type or bundle.
...
+    // The content moderation plugin does not valid the existence of the entity
+    // type or bundle.

It should say "validate" instead of "valid".

The test name is also misspelled:
ContentModertaionWorkflowTypeApiTest
"Modertaion" should be "Moderation"

Proposed resolution

Fix the typo.

CommentFileSizeAuthor
#5 2850592-5.patch2.36 KBalexpott
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm created an issue. See original summary.

xjm’s picture

Title: Typo in content moderation entity kernel test » Typo in ContentModertaionWorkflowTypeApiTest
xjm’s picture

Title: Typo in ContentModertaionWorkflowTypeApiTest » Typos in ContentModertaionWorkflowTypeApiTest
Component: documentation » content_moderation.module

lol. the test name is also misspelled:
ContentModertaionWorkflowTypeApiTest
"Modertaion" should be "Moderation"

Fortunately, the class name still matches the filename (with the misspelling), so the test should still be running.

xjm’s picture

Issue summary: View changes
alexpott’s picture

Status: Active » Needs review
FileSize
2.36 KB

Ooops... my bad.

Sam152’s picture

Status: Needs review » Reviewed & tested by the community

  • xjm committed 9088257 on 8.4.x
    Issue #2850592 by alexpott, xjm: Typos in...
xjm’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

  • xjm committed 31c33be on 8.3.x
    Issue #2850592 by alexpott, xjm: Typos in...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.