diff options
author | Florian Dold <florian@dold.me> | 2021-06-09 15:26:18 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-06-09 15:26:18 +0200 |
commit | 3d2b7b2a65787858c9471bc48cc5860c07b7f7dc (patch) | |
tree | 4a7477c184de7408104b8bf254a277a5949b19de /packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts | |
parent | 5c26461247040c07c86291babf0c87631df638b5 (diff) | |
download | wallet-core-3d2b7b2a65787858c9471bc48cc5860c07b7f7dc.tar.xz |
formatting: re-run prettier
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"]); } |