diff options
author | Florian Dold <florian@dold.me> | 2021-08-07 12:39:26 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-07 12:39:26 +0200 |
commit | 34c405f4c916c320a0662678ad273c469f069ca1 (patch) | |
tree | d0e8af009015da6e7b760456e6177c6a06106be2 /packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-users.ts | |
parent | 20ffa834d8e1b135b308e27d2b655e6868ce1872 (diff) | |
download | wallet-core-34c405f4c916c320a0662678ad273c469f069ca1.tar.xz |
adjust libeufin test cases
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 | 12 |
1 files changed, 5 insertions, 7 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 d4d451ed7..b53db4212 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 @@ -18,11 +18,7 @@ * Imports. */ import { GlobalTestState } from "./harness"; -import { - NexusUserBundle, - LibeufinNexusApi, - LibeufinNexusService, -} from "./libeufin"; +import { LibeufinNexusApi, LibeufinNexusService } from "./libeufin"; /** * Run basic test with LibEuFin. @@ -42,13 +38,14 @@ export async function runLibeufinApiUsersTest(t: GlobalTestState) { await LibeufinNexusApi.changePassword( nexus, + "one", { newPassword: "got-changed", }, { auth: { - username: "one", - password: "will-be-changed", + username: "admin", + password: "test", }, }, ); @@ -62,4 +59,5 @@ export async function runLibeufinApiUsersTest(t: GlobalTestState) { console.log(resp.data); t.assertTrue(resp.data["username"] == "one" && !resp.data["superuser"]); } + runLibeufinApiUsersTest.suites = ["libeufin"]; |