Skip to content

Commit 7762537

Browse files
mfilipcblanc
authored andcommitted
fix: correct path formatting for terminated postcodes endpoint
1 parent 1bd1aff commit 7762537

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/terminated_postcodes.integration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ describe("Terminated postcode route", () => {
9494
const secondSlice = testTerminatedPostcode.slice(2, 4);
9595
const thirdSlice = testTerminatedPostcode.slice(4);
9696
testTerminatedPostcode = ` ${firstSlice} ${secondSlice} ${thirdSlice}`;
97-
path = `"/terminated_postcodes/"${encodeURI(testTerminatedPostcode)}`;
97+
path = `/terminated_postcodes/${encodeURI(testTerminatedPostcode)}`;
9898
//TODO check if change is correct with result
9999
assert.isTrue(!parse(testTerminatedPostcode).valid);
100100
request(app)

0 commit comments

Comments
 (0)