diff options
author | Sebastian <sebasjm@gmail.com> | 2023-10-30 15:40:20 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-10-30 15:40:20 -0300 |
commit | fb4c172bb430936268bcebe34142d4206a0d422e (patch) | |
tree | 3a7970cb259ae23b57a90d77e2b768b24a15b661 /packages/taler-harness | |
parent | 768838285c25cbb1b171f645e8efb37a3c14273a (diff) | |
download | wallet-core-fb4c172bb430936268bcebe34142d4206a0d422e.tar.xz |
remove metric from admin panel and better way to find harness testing user
Diffstat (limited to 'packages/taler-harness')
-rw-r--r-- | packages/taler-harness/src/http-client/bank-core.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-harness/src/http-client/bank-core.ts b/packages/taler-harness/src/http-client/bank-core.ts index c67ff1bf8..25e67b031 100644 --- a/packages/taler-harness/src/http-client/bank-core.ts +++ b/packages/taler-harness/src/http-client/bank-core.ts @@ -46,7 +46,7 @@ async testAccountManagement(adminPassword: string) { * Create account */ { - const username = "user-" + encodeCrock(getRandomBytes(10)).toLowerCase(); + const username = "harness-" + encodeCrock(getRandomBytes(10)).toLowerCase(); // await failOrThrow("invalid-input",() => // this.api.createAccount(adminToken, { @@ -128,7 +128,7 @@ async testAccountManagement(adminPassword: string) { ) - const otherUsername = "user-" + encodeCrock(getRandomBytes(10)).toLowerCase(); + const otherUsername = "harness-" + encodeCrock(getRandomBytes(10)).toLowerCase(); await succeedOrThrow(() => this.api.createAccount(adminToken, { @@ -530,7 +530,7 @@ async testTransactions(adminPassword: string) { } export async function createRandomTestUser(api: TalerCoreBankHttpClient, adminToken: AccessToken, options: Partial<TalerCorebankApi.RegisterAccountRequest> = {}) { - const username = "user-" + encodeCrock(getRandomBytes(10)).toLowerCase(); + const username = "harness-" + encodeCrock(getRandomBytes(10)).toLowerCase(); await succeedOrThrow(() => api.createAccount(adminToken, { name: username, |