From afda023fc456856c628722958d9d19034147c48a Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 28 Jun 2022 17:59:00 +0100 Subject: [PATCH] Fixing test case issue. --- packages/server/src/automations/tests/filter.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/server/src/automations/tests/filter.spec.js b/packages/server/src/automations/tests/filter.spec.js index f11841f7c9..5fa5e0e202 100644 --- a/packages/server/src/automations/tests/filter.spec.js +++ b/packages/server/src/automations/tests/filter.spec.js @@ -6,7 +6,8 @@ describe("test the filter logic", () => { let res = await setup.runStep(setup.actions.FILTER.stepId, { field, condition, value } ) - expect(res.success).toEqual(pass) + expect(res.result).toEqual(pass) + expect(res.success).toEqual(true) } it("should be able test equality", async () => {