diff options
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts index eb41bfe72..d4d451ed7 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts @@ -35,13 +35,10 @@ export async function runLibeufinApiUsersTest(t: GlobalTestState) { await nexus.start(); await nexus.pingUntilAvailable(); - await LibeufinNexusApi.createUser( - nexus, - { - username: "one", - password: "will-be-changed", - } - ); + await LibeufinNexusApi.createUser(nexus, { + username: "one", + password: "will-be-changed", + }); await LibeufinNexusApi.changePassword( nexus, @@ -52,19 +49,16 @@ export async function runLibeufinApiUsersTest(t: GlobalTestState) { auth: { username: "one", password: "will-be-changed", - } + }, }, ); - let resp = await LibeufinNexusApi.getUser( - nexus, - { - auth: { - username: "one", - password: "got-changed", - } - } - ); + let resp = await LibeufinNexusApi.getUser(nexus, { + auth: { + username: "one", + password: "got-changed", + }, + }); console.log(resp.data); t.assertTrue(resp.data["username"] == "one" && !resp.data["superuser"]); } |