aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-13 15:28:34 +0200
committerFlorian Dold <florian@dold.me>2022-09-13 16:10:42 +0200
commit676ae5102b618e7e52ba289d453a470fe77ce9d5 (patch)
tree6d10f4fd3d04d653c8734cdebb5ab3472cd86fd5 /packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts
parent48540f62644b4c2e4e96095b11e202cb62e3e93d (diff)
downloadwallet-core-676ae5102b618e7e52ba289d453a470fe77ce9d5.tar.xz
fix test and logging
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts9
1 files changed, 1 insertions, 8 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts b/packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts
index e878854f8..e93d2c44c 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-payment-claim.ts
@@ -102,14 +102,7 @@ export async function runPaymentClaimTest(t: GlobalTestState) {
});
});
- t.assertTrue(
- err.hasErrorCode(TalerErrorCode.WALLET_PENDING_OPERATION_FAILED),
- );
-
- t.assertTrue(
- err.errorDetail.innerError.code ===
- TalerErrorCode.WALLET_ORDER_ALREADY_CLAIMED,
- );
+ t.assertTrue(err.hasErrorCode(TalerErrorCode.WALLET_ORDER_ALREADY_CLAIMED));
await t.shutdown();
}