This commit is contained in:
adrinr 2023-02-03 11:30:30 +00:00
parent 6d3117d6ac
commit 7605bb46f6
1 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ class TestConfiguration {
admin, admin,
roles, roles,
}) })
await cache.user.invalidateUser(globalId, this.getTenantId()) await cache.user.invalidateUser(globalId)
return { return {
...resp, ...resp,
globalId, globalId,
@ -326,7 +326,7 @@ class TestConfiguration {
const appToken = auth.jwt.sign(app, env.JWT_SECRET) const appToken = auth.jwt.sign(app, env.JWT_SECRET)
// returning necessary request headers // returning necessary request headers
await cache.user.invalidateUser(userId, this.getTenantId()) await cache.user.invalidateUser(userId)
return { return {
Accept: "application/json", Accept: "application/json",
Cookie: [ Cookie: [