aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-integrationtests/src/test-exchange-management.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-01 18:00:46 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-01 18:00:51 +0530
commit5056da6548d5880211abd3e1cdacd92134e40dab (patch)
treedb7ede721ddd33c52dd862562b340f0782dabb22 /packages/taler-integrationtests/src/test-exchange-management.ts
parent5e7149f79eeb9988a7da45ecc8573c65e9680082 (diff)
downloadwallet-core-5056da6548d5880211abd3e1cdacd92134e40dab.tar.xz
test error handling
Diffstat (limited to 'packages/taler-integrationtests/src/test-exchange-management.ts')
-rw-r--r--packages/taler-integrationtests/src/test-exchange-management.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-integrationtests/src/test-exchange-management.ts b/packages/taler-integrationtests/src/test-exchange-management.ts
index 4ca86b341..7da260978 100644
--- a/packages/taler-integrationtests/src/test-exchange-management.ts
+++ b/packages/taler-integrationtests/src/test-exchange-management.ts
@@ -177,7 +177,7 @@ runTest(async (t: GlobalTestState) => {
// Response is malformed, since it didn't even contain a version code
// in a format the wallet can understand.
t.assertTrue(
- err1.operationError.talerErrorCode ===
+ err1.operationError.code ===
TalerErrorCode.WALLET_RECEIVED_MALFORMED_RESPONSE,
);
@@ -214,7 +214,7 @@ runTest(async (t: GlobalTestState) => {
});
t.assertTrue(
- err2.operationError.talerErrorCode ===
+ err2.operationError.code ===
TalerErrorCode.WALLET_EXCHANGE_PROTOCOL_VERSION_INCOMPATIBLE,
);