mirror of
https://github.com/strapi/strapi.git
synced 2025-09-16 12:02:41 +00:00
fix(ee): correct relation type in test
This commit is contained in:
parent
765337c762
commit
cc69ffc92e
@ -123,7 +123,7 @@ describe('Review workflows service', () => {
|
|||||||
expect(extendFunc({})).toEqual({
|
expect(extendFunc({})).toEqual({
|
||||||
attributes: {
|
attributes: {
|
||||||
[ENTITY_STAGE_ATTRIBUTE]: expect.objectContaining({
|
[ENTITY_STAGE_ATTRIBUTE]: expect.objectContaining({
|
||||||
relation: 'morphOne',
|
relation: 'oneToOne',
|
||||||
target: 'admin::workflow-stage',
|
target: 'admin::workflow-stage',
|
||||||
type: 'relation',
|
type: 'relation',
|
||||||
}),
|
}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user