X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontent_moderation%2Ftests%2Fsrc%2FKernel%2FContentModerationPermissionsTest.php;h=f17e4ac83c6eecf35e2cd50c49581cd72c13cb5c;hp=3a19d22d7a519893d8a17706a4148287fde258ef;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5
diff --git a/web/core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php b/web/core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php
index 3a19d22d7..f17e4ac83 100644
--- a/web/core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php
+++ b/web/core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php
@@ -55,37 +55,13 @@ class ContentModerationPermissionsTest extends KernelTestBase {
'id' => 'simple_workflow',
'label' => 'Simple Workflow',
'type' => 'content_moderation',
- 'transitions' => [
- 'publish' => [
- 'label' => 'Publish',
- 'from' => ['draft'],
- 'to' => 'published',
- 'weight' => 0,
- ],
- 'unpublish' => [
- 'label' => 'Unpublish',
- 'from' => ['published'],
- 'to' => 'draft',
- 'weight' => 0,
- ],
- ],
- 'states' => [
- 'draft' => [
- 'label' => 'Draft',
- 'weight' => -5,
- ],
- 'published' => [
- 'label' => 'Published',
- 'weight' => 0,
- ],
- ],
],
[
'use simple_workflow transition publish' => [
- 'title' => 'Use Publish transition from Simple Workflow workflow.',
+ 'title' => 'Simple Workflow workflow: Use Publish transition.',
],
- 'use simple_workflow transition unpublish' => [
- 'title' => 'Use Unpublish transition from Simple Workflow workflow.',
+ 'use simple_workflow transition create_new_draft' => [
+ 'title' => 'Simple Workflow workflow: Use Create New Draft transition.',
],
],
],