Преглед изворни кода

test(core): Fix failing test

Michael Bromley пре 5 година
родитељ
комит
fbf398afbc
1 измењених фајлова са 7 додато и 0 уклоњено
  1. 7 0
      packages/core/e2e/shipping-method.e2e-spec.ts

+ 7 - 0
packages/core/e2e/shipping-method.e2e-spec.ts

@@ -206,9 +206,16 @@ describe('ShippingMethod resolver', () => {
             description: '',
             calculator: {
                 code: 'calculator-with-metadata',
+                args: [],
             },
             checker: {
                 code: 'default-shipping-eligibility-checker',
+                args: [
+                    {
+                        name: 'orderMinimum',
+                        value: '0',
+                    },
+                ],
             },
         });
     });