projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
content_moderation
/
tests
/
src
/
Kernel
/
ContentModerationPermissionsTest.php
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 3a19d22d7a519893d8a17706a4148287fde258ef..f17e4ac83c6eecf35e2cd50c49581cd72c13cb5c 100644
(file)
--- 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',
'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' => [
],
[
'use simple_workflow transition publish' => [
- 'title' => '
Use <em class="placeholder">Publish</em> transition from <em class="placeholder">Simple Workflow</em> workflow
.',
+ 'title' => '
<em class="placeholder">Simple Workflow</em> workflow: Use <em class="placeholder">Publish</em> transition
.',
],
],
- 'use simple_workflow transition
unpublish
' => [
- 'title' => '
Use <em class="placeholder">Unpublish</em> transition from <em class="placeholder">Simple Workflow</em> workflow
.',
+ 'use simple_workflow transition
create_new_draft
' => [
+ 'title' => '
<em class="placeholder">Simple Workflow</em> workflow: Use <em class="placeholder">Create New Draft</em> transition
.',
],
],
],
],
],
],