mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 23:24:03 +00:00
fix: remove unnecessary expect
This commit is contained in:
parent
235252e194
commit
bfc379347b
@ -190,7 +190,6 @@ describeOnCondition(edition === 'EE')('Review workflows', () => {
|
||||
|
||||
if (hasRW) {
|
||||
expect(res.status).toBe(400);
|
||||
expect(res.body.error.name).toBe('ApplicationError');
|
||||
expect(res.body.error.message).toBe('Can not create a workflow without stages');
|
||||
} else {
|
||||
expect(res.status).toBe(404);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user