Skip to content

Commit

Permalink
test: update test sample data
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Murray <[email protected]>
  • Loading branch information
mikemurray committed Jun 29, 2020
1 parent 70df3b4 commit bb16ae6
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const mockFulfillmentMethodData = {
handling: 9.5,
rate: 90,
cost: 9,
isEnabled: true,
enabled: true,
fulfillmentTypes: ["shipping"],
group: groups[0]
};
Expand Down Expand Up @@ -133,7 +133,14 @@ test("user can delete flat rate fulfillment method if they have `reaction:legacy

expect(result.deleteFlatRateFulfillmentMethod.method).toEqual({
_id: opaqueMockFulfillmentMethodId,
...mockFulfillmentMethodData
name: "mockMethod",
label: "Standard mockMethod",
handling: 9.5,
rate: 90,
cost: 9,
isEnabled: true,
fulfillmentTypes: ["shipping"],
group: groups[0]
});
});

Expand Down

0 comments on commit bb16ae6

Please sign in to comment.