diff --git a/src/layouts/estimate/estimate.spec.js b/src/layouts/estimate/estimate.spec.js index e51d817a5..7a66a197c 100644 --- a/src/layouts/estimate/estimate.spec.js +++ b/src/layouts/estimate/estimate.spec.js @@ -215,9 +215,10 @@ describe("estimate.vue", () => { describe("estimate.vue", () => { test("should call forwardButtonAction if isExternalParameter is true and form is valid", async () => { - store.commit(storeMutations.UPDATE_IS_EXTERNAL_PARAMETER, true); - store.commit(storeMutations.UPDATE_EXTERNAL_PARAMETER_VIN_SELECTION, "decline"); - + store.getters = { + isExternalParameter: true, + externalParameterEstimate: { vinSelection: "decline" }, + }; // Set up the component const { wrapper } = setupMocks({});