Clean
This commit is contained in:
parent
4db5d9dab2
commit
8b866a53c8
|
@ -263,9 +263,8 @@ describe("/api/global/auth", () => {
|
||||||
// convert to account owner now that password has been requested
|
// convert to account owner now that password has been requested
|
||||||
const account: CloudAccount = {
|
const account: CloudAccount = {
|
||||||
...structures.accounts.ssoAccount(),
|
...structures.accounts.ssoAccount(),
|
||||||
budibaseUserId: user._id!,
|
budibaseUserId: "budibaseUserId",
|
||||||
email: user.email,
|
email: user.email,
|
||||||
tenantId: config.getTenantId(),
|
|
||||||
}
|
}
|
||||||
mocks.accounts.getAccountByTenantId.mockReturnValueOnce(
|
mocks.accounts.getAccountByTenantId.mockReturnValueOnce(
|
||||||
Promise.resolve(account)
|
Promise.resolve(account)
|
||||||
|
|
Loading…
Reference in New Issue