[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: add test to righ test suite
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: add test to righ test suite |
Date: |
Wed, 04 Aug 2021 13:45:30 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 18c8cebb add test to righ test suite
18c8cebb is described below
commit 18c8cebbcd85e7345607572be4c66dff940ad776
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Aug 4 13:45:24 2021 +0200
add test to righ test suite
---
.../src/integrationtests/test-merchant-refund-api.ts | 15 +++++++++------
1 file changed, 9 insertions(+), 6 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 53a6b167..3e505d9c 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
@@ -25,12 +25,12 @@ import {
WalletCli,
ExchangeServiceInterface,
} from "./harness";
+import { createSimpleTestkudosEnvironment, withdrawViaBank } from "./helpers";
import {
- createSimpleTestkudosEnvironment,
- withdrawViaBank,
- SimpleTestEnvironment,
-} from "./helpers";
-import { URL, durationFromSpec, PreparePayResultType } from
"@gnu-taler/taler-util";
+ URL,
+ durationFromSpec,
+ PreparePayResultType,
+} from "@gnu-taler/taler-util";
import axios from "axios";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
@@ -138,10 +138,11 @@ async function testRefundApiWithFulfillmentUrl(
`orders/${orderId}`,
merchant.makeInstanceBaseUrl(),
);
-
+ console.log(`requesting order status via '${publicOrderStatusUrl.href}'`);
publicOrderStatusResp = await axios.get(publicOrderStatusUrl.href, {
validateStatus: () => true,
});
+ 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);
@@ -293,3 +294,5 @@ export async function runMerchantRefundApiTest(t:
GlobalTestState) {
merchant,
});
}
+
+runMerchantRefundApiTest.suites = ["merchant"];
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: add test to righ test suite,
gnunet <=