X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontent_moderation%2Ftests%2Fsrc%2FKernel%2FContentModerationPermissionsTest.php;h=f17e4ac83c6eecf35e2cd50c49581cd72c13cb5c;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=3a19d22d7a519893d8a17706a4148287fde258ef;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website
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.',
],
],
],