diff options
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts b/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts index 2c417e715..b171ff66a 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts @@ -169,16 +169,17 @@ export async function runPaymentTransientTest(t: GlobalTestState) { // Now ask the merchant if paid + console.log("requesting", publicOrderStatusUrl); publicOrderStatusResp = await axios.get(publicOrderStatusUrl, { validateStatus: () => true, }); console.log(publicOrderStatusResp.data); - if (publicOrderStatusResp.status != 202) { + if (publicOrderStatusResp.status != 200) { console.log(publicOrderStatusResp.data); throw Error( - `expected status 202 (after paying), but got ${publicOrderStatusResp.status}`, + `expected status 200 (after paying), but got ${publicOrderStatusResp.status}`, ); } } |