- By applying for a new transport permit you are confirming that the active Transport permit +
+ By applying for a new transport permit you are confirming that the active transport permit {{ getMhrInformation.permitRegistrationNumber }} issued on {{ pacificDate(getMhrInformation.permitDateTime, true) }} has been completed and will render as no longer active. @@ -78,7 +78,7 @@ Create New Transport Permit @@ -140,7 +140,7 @@ Extend Transport Permit @@ -160,7 +160,7 @@ Create New Transport Permit diff --git a/ppr-ui/tests/unit/MhrTransportPermit.spec.ts b/ppr-ui/tests/unit/MhrTransportPermit.spec.ts index 5a07780db..d53e132b2 100644 --- a/ppr-ui/tests/unit/MhrTransportPermit.spec.ts +++ b/ppr-ui/tests/unit/MhrTransportPermit.spec.ts @@ -117,7 +117,7 @@ describe('MhrTransportPermit', () => { await nextTick() const locationChangeDropdown = wrapper.findComponent(LocationChange).findComponent('.v-select') - expect(locationChangeDropdown.vm.items.length).toBe(3) + expect(locationChangeDropdown.vm.items.length).toBe(2) }) it('should render different location change options', async () => { @@ -127,7 +127,7 @@ describe('MhrTransportPermit', () => { const locationChangeDropdown = locationChange.findComponent('.v-select') expect(locationChangeDropdown.exists()).toBe(true) - expect(locationChangeDropdown.vm.items.length).toBe(4) + expect(locationChangeDropdown.vm.items.length).toBe(3) // select transport permit locationChange.vm.selectLocationType(LocationChangeTypes.TRANSPORT_PERMIT) @@ -609,7 +609,7 @@ describe('Mhr Information Transport Permit', async () => { await nextTick() const locationChangeDropdown = locationChange.findComponent('.v-select') - expect(locationChangeDropdown.vm.items.length).toBe(3) + expect(locationChangeDropdown.vm.items.length).toBe(2) expect(wrapper.findComponent(DocumentId).exists()).toBe(false) expect(locationChange.findComponent(HomeLocationType).exists()).toBe(true)