unit test fix
This commit is contained in:
parent
adbaa7d0ca
commit
7b112e0c3d
2 changed files with 3 additions and 2 deletions
|
|
@ -144,7 +144,8 @@ describe('address-vehicles.vue', () => {
|
|||
const { wrapper } = setupMocks({});
|
||||
const lookupVinResponse = {
|
||||
data: {
|
||||
carId: '456'
|
||||
carId: '456',
|
||||
canSafeliteService: true
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ export default {
|
|||
if (!vinLookup) {
|
||||
return;
|
||||
}
|
||||
if (!vinLookup.data?.canSafeliteService) {
|
||||
if (vinLookup.data?.canSafeliteService === false) {
|
||||
this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vinLookup.data.carId));
|
||||
this.$router.navigate(
|
||||
this.navigationScenarios.BAILOUT,
|
||||
|
|
|
|||
Loading…
Reference in a new issue