Skip to content

Commit

Permalink
fix unknown char in email links (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
shravanmechineni authored Feb 11, 2020
1 parent 817626b commit 224010b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/js/shared/idam_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ class IdamHelper extends Helper {
const regex = "(https.+)"
const url = emailResponse.body.match(regex);
if (url[0]) {
return url[0].replace(/https:\/\/idam-web-public\..+?\.platform\.hmcts\.net/i, TestData.WEB_PUBLIC_URL);
return url[0].replace(/https:\/\/idam-web-public\..+?\.platform\.hmcts\.net/i, TestData.WEB_PUBLIC_URL).replace(")", "");
}
}
}
Expand Down

0 comments on commit 224010b

Please sign in to comment.