Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2850592-5.patch | 2.36 KB | alexpott |
Comments
Comment #2
xjmComment #3
xjmlol. 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.
Comment #4
xjmComment #5
alexpottOoops... my bad.
Comment #6
Sam152 CreditAttribution: Sam152 at PreviousNext commentedComment #8
xjmThanks!