mirror of
https://github.com/strapi/strapi.git
synced 2025-09-22 06:50:51 +00:00
fix: findById test
This commit is contained in:
parent
5e865edd81
commit
5e28d1df7d
@ -104,9 +104,7 @@ describe('Review workflows - Stages service', () => {
|
||||
|
||||
expect(entityServiceMock.findMany).not.toBeCalled();
|
||||
expect(entityServiceMock.findOne).toBeCalled();
|
||||
expect(entityServiceMock.findOne).toBeCalledWith(STAGE_MODEL_UID, 1, {
|
||||
filters: { workflow: 1 },
|
||||
});
|
||||
expect(entityServiceMock.findOne).toBeCalledWith(STAGE_MODEL_UID, 1, {});
|
||||
});
|
||||
});
|
||||
describe('replaceWorkflowStages', () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user