Merge pull request #2652 from Safelite/feature/CASH-1179
CASH-1179 - Updating Vin only for Audi going back to 2010
This commit is contained in:
commit
3b8394ccaa
2 changed files with 3 additions and 0 deletions
|
|
@ -3310,6 +3310,8 @@ export const actions = {
|
|||
(context.state.order.vehicle.make.toLowerCase() === "bmw" &&
|
||||
context.state.order.vehicle.year < 2010) ||
|
||||
(context.state.order.vehicle.make.toLowerCase() === "volkswagen" &&
|
||||
context.state.order.vehicle.year < 2010) ||
|
||||
(context.state.order.vehicle.make.toLowerCase() === "audi" &&
|
||||
context.state.order.vehicle.year < 2010)
|
||||
)
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -4248,6 +4248,7 @@ describe("isVinOptionalVehicle", () => {
|
|||
["2016", "volkswagen", false],
|
||||
["2016", "audi", false],
|
||||
["2016", "porsche", true],
|
||||
["2009", "audi", true],
|
||||
];
|
||||
test.each(testVehicles)(
|
||||
"%s %s should skip vin lookup is %s",
|
||||
|
|
|
|||
Loading…
Reference in a new issue