fix: remove unnecessary expect

This commit is contained in:
Marc-Roig 2023-05-12 17:35:44 +02:00
parent 235252e194
commit bfc379347b
No known key found for this signature in database
GPG Key ID: FB4E2C43A0BEE249

View File

@ -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);