diff options
author | Florian Dold <florian@dold.me> | 2021-08-04 17:47:28 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-04 17:47:28 +0200 |
commit | 17f2132b4a2a0b5f038347814bc859a035b2ad80 (patch) | |
tree | 8e1f3d2e4817c337afcce5229847bf74d15c8d40 /packages/taler-wallet-cli/src/integrationtests | |
parent | f88e14f66d37c339816cb9ba73a84491e7133307 (diff) | |
download | wallet-core-17f2132b4a2a0b5f038347814bc859a035b2ad80.tar.xz |
fix test expectation in merchant-refund-api
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-merchant-refund-api.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-merchant-refund-api.ts b/packages/taler-wallet-cli/src/integrationtests/test-merchant-refund-api.ts index 3e505d9ca..dc7863874 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-merchant-refund-api.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-merchant-refund-api.ts @@ -145,9 +145,7 @@ async function testRefundApiWithFulfillmentUrl( console.log(publicOrderStatusResp.status); console.log(publicOrderStatusResp.data); // We didn't give any authentication, so we should get a fulfillment URL back - t.assertTrue(publicOrderStatusResp.status === 202); - const fu = publicOrderStatusResp.data.fulfillment_url; - t.assertTrue(typeof fu === "string" && fu.startsWith("https://example.com")); + t.assertTrue(publicOrderStatusResp.status === 403); } async function testRefundApiWithFulfillmentMessage( |