From 195651b04bbdcf36de169daef3d054621d970536 Mon Sep 17 00:00:00 2001 From: build-token <build-token> Date: Wed, 1 Feb 2023 13:05:28 +0000 Subject: [PATCH] publish: update tests generated from commit 534a8822a0165184274f826d5682a2c0abf0ff93 --- index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 2900961..0a34b79 100644 --- a/index.js +++ b/index.js @@ -246978,7 +246978,7 @@ async function activateContract( log('error', 'commanderCollectePublicationMesures') log('error', err) Sentry.captureException('commanderCollectePublicationMesures', err) - throw errors.LOGIN_FAILED + throw errors.CAPTCHA_RESOLUTION_FAILED }) const parsedReply = await xml2js.parseStringPromise(response.body, { @@ -247002,7 +247002,7 @@ async function activateContract( //TODO: handle SGT4B8: Il existe déjà plusieurs demandes en cours sur le point ? //TODO: handle SGT4H9: La demande ne porte pas sur un point équipé d'un compteur communicant ouvert aux services niveau 2. //TODO: handle SGT589: La demande ne peut pas aboutir car le compteur n'est actuellement pas téléopérable. - throw errors.LOGIN_FAILED + throw errors.CAPTCHA_RESOLUTION_FAILED } } @@ -247191,7 +247191,7 @@ async function verifyContract(url, apiAuthKey, appLogin, contractId, pointId) { log('error', 'rechercherServicesSouscritsMesures') log('error', err) Sentry.captureException('rechercherServicesSouscritsMesures', err) - throw errors.LOGIN_FAILED + throw errors.CAPTCHA_RESOLUTION_FAILED }) const parsedReply = await xml2js.parseStringPromise(response.body, { @@ -247234,7 +247234,7 @@ async function verifyContract(url, apiAuthKey, appLogin, contractId, pointId) { 'error', 'if an error is thrown here, it probably means that the contract has already been open today and that enedis cannot open a second one. Wait until tomorow to try again' ) - throw errors.LOGIN_FAILED + throw errors.CAPTCHA_RESOLUTION_FAILED } } -- GitLab