Tagging LibEuFin tests.
This commit is contained in:
parent
a68af80514
commit
042849b99b
@ -124,3 +124,4 @@ export async function runLibeufinApiBankaccountTest(t: GlobalTestState) {
|
|||||||
let el = findNexusPayment("mock subject", transactions.data);
|
let el = findNexusPayment("mock subject", transactions.data);
|
||||||
t.assertTrue(el instanceof Object);
|
t.assertTrue(el instanceof Object);
|
||||||
}
|
}
|
||||||
|
runLibeufinApiBankaccountTest.suites = ["libeufin"];
|
||||||
|
@ -69,3 +69,4 @@ export async function runLibeufinApiBankconnectionTest(t: GlobalTestState) {
|
|||||||
connections = await LibeufinNexusApi.getAllConnections(nexus);
|
connections = await LibeufinNexusApi.getAllConnections(nexus);
|
||||||
t.assertTrue(connections.data["bankConnections"].length == 0);
|
t.assertTrue(connections.data["bankConnections"].length == 0);
|
||||||
}
|
}
|
||||||
|
runLibeufinApiBankconnectionTest.suites = ["libeufin"];
|
||||||
|
@ -56,3 +56,5 @@ export async function runLibeufinApiFacadeTest(t: GlobalTestState) {
|
|||||||
// check that no facades show up.
|
// check that no facades show up.
|
||||||
t.assertTrue(!resp.data.hasOwnProperty("facades"));
|
t.assertTrue(!resp.data.hasOwnProperty("facades"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
runLibeufinApiFacadeTest.suites = ["libeufin"];
|
||||||
|
@ -63,3 +63,4 @@ export async function runLibeufinApiPermissionsTest(t: GlobalTestState) {
|
|||||||
transferPermission = await LibeufinNexusApi.getAllPermissions(nexus);
|
transferPermission = await LibeufinNexusApi.getAllPermissions(nexus);
|
||||||
t.assertTrue(transferPermission.data["permissions"].length == 0);
|
t.assertTrue(transferPermission.data["permissions"].length == 0);
|
||||||
}
|
}
|
||||||
|
runLibeufinApiPermissionsTest.suites = ["libeufin"];
|
||||||
|
@ -81,3 +81,4 @@ export async function runLibeufinApiSchedulingTest(t: GlobalTestState) {
|
|||||||
t.assertTrue(err.response.status == 404);
|
t.assertTrue(err.response.status == 404);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
runLibeufinApiSchedulingTest.suites = ["libeufin"];
|
||||||
|
@ -68,3 +68,4 @@ export async function runLibeufinApiUsersTest(t: GlobalTestState) {
|
|||||||
console.log(resp.data);
|
console.log(resp.data);
|
||||||
t.assertTrue(resp.data["username"] == "one" && !resp.data["superuser"]);
|
t.assertTrue(resp.data["username"] == "one" && !resp.data["superuser"]);
|
||||||
}
|
}
|
||||||
|
runLibeufinApiUsersTest.suites = ["libeufin"];
|
||||||
|
@ -316,3 +316,4 @@ export async function runLibeufinBasicTest(t: GlobalTestState) {
|
|||||||
merchantIban,
|
merchantIban,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
runLibeufinBasicTest.suites = ["libeufin"];
|
||||||
|
@ -100,3 +100,5 @@ export async function runLibeufinRefundMultipleUsersTest(t: GlobalTestState) {
|
|||||||
|
|
||||||
t.assertTrue(history["payments"].length == 1)
|
t.assertTrue(history["payments"].length == 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
runLibeufinRefundMultipleUsersTest.suites = ["libeufin"];
|
||||||
|
@ -90,3 +90,4 @@ export async function runLibeufinRefundTest(t: GlobalTestState) {
|
|||||||
|
|
||||||
t.assertTrue(history["payments"].length == 1)
|
t.assertTrue(history["payments"].length == 1)
|
||||||
}
|
}
|
||||||
|
runLibeufinRefundTest.suites = ["libeufin"];
|
||||||
|
@ -118,3 +118,4 @@ export async function runLibeufinTutorialTest(t: GlobalTestState) {
|
|||||||
await libeufinCli.preparePayment(paymentDetails);
|
await libeufinCli.preparePayment(paymentDetails);
|
||||||
await libeufinCli.submitPayment(paymentDetails, "1");
|
await libeufinCli.submitPayment(paymentDetails, "1");
|
||||||
}
|
}
|
||||||
|
runLibeufinTutorialTest.suites = ["libeufin"];
|
||||||
|
Loading…
Reference in New Issue
Block a user