Problem/Motivation

The ForwardRevisionNodeValidationTest currently depends on workbench_moderation from contrib. It might be better to depend on content_moderation in core.

Remaining tasks

Review patch

Comments

mstrelan created an issue. See original summary.

larowlan’s picture

+++ b/tests/src/Functional/ForwardRevisionNodeValidationTest.php
@@ -76,9 +76,7 @@ class ForwardRevisionNodeValidationTest extends BrowserTestBase {
     $buttons = [
-      'Save and Publish',
-      'Save and Create New Draft',
-      'Save and Archive',
+      'Save',
       'Preview',
     ];
     foreach ($buttons as $button) {

we can ditch this rubbish workaround too now

+1 for this, thanks

mstrelan’s picture

Done, also standardised usage of SELF / STATIC and fixed the description in the class docblock.

larowlan’s picture

Status: Needs review » Reviewed & tested by the community

  • larowlan committed 58b6c60 on 3.x authored by mstrelan
    Issue #3220723 by mstrelan: Consider testing with content_moderation...
larowlan’s picture

Status: Reviewed & tested by the community » Fixed

thanks, cutting 3.0.4

Status: Fixed » Closed (fixed)

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