From c090e71ae39d93630a5cb8bbb1c42229babdfb78 Mon Sep 17 00:00:00 2001 From: Pedro Silva Date: Mon, 9 Jan 2023 15:35:53 +0000 Subject: [PATCH] Add email and tenant validation --- qa-core/src/config/internal-api/TestConfiguration/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa-core/src/config/internal-api/TestConfiguration/index.ts b/qa-core/src/config/internal-api/TestConfiguration/index.ts index 71436f2319..67beafa126 100644 --- a/qa-core/src/config/internal-api/TestConfiguration/index.ts +++ b/qa-core/src/config/internal-api/TestConfiguration/index.ts @@ -42,8 +42,8 @@ export default class TestConfiguration { async setupAccountAndTenant() { const account = generateAccount() - //await this.accounts.validateEmail(account.email) - //await this.accounts.validateTenantId(account.tenantId) + await this.accounts.validateEmail(account.email) + await this.accounts.validateTenantId(account.tenantId) process.env.TENANT_ID = account.tenantId await this.accounts.create(account) await this.updateApiClients(account.tenantName)