mirror of
https://github.com/strapi/strapi.git
synced 2025-07-27 02:44:13 +00:00
test: change only color of a stage
This commit is contained in:
parent
e114800c2d
commit
b544fe622f
@ -282,7 +282,7 @@ describeOnCondition(edition === 'EE')('Review workflows', () => {
|
|||||||
test("It should assign a default color to stages if they don't have one", async () => {
|
test("It should assign a default color to stages if they don't have one", async () => {
|
||||||
await requests.admin.put(`/admin/review-workflows/workflows/${testWorkflow.id}/stages`, {
|
await requests.admin.put(`/admin/review-workflows/workflows/${testWorkflow.id}/stages`, {
|
||||||
body: {
|
body: {
|
||||||
data: [defaultStage, { id: secondStage.id, name: 'new_name', color: '#000000' }],
|
data: [defaultStage, { id: secondStage.id, name: secondStage.name, color: '#000000' }],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user