lint
This commit is contained in:
parent
85c4095656
commit
035a601c28
|
@ -72,7 +72,12 @@ class TestConfiguration {
|
|||
|
||||
// UTILS
|
||||
|
||||
async _req(config: any, params: any, controlFunc: any, opts: { force?: boolean } = {}) {
|
||||
async _req(
|
||||
config: any,
|
||||
params: any,
|
||||
controlFunc: any,
|
||||
opts: { force?: boolean } = {}
|
||||
) {
|
||||
const request: any = {}
|
||||
// fake cookies, we don't need them
|
||||
request.cookies = { set: () => {}, get: () => {} }
|
||||
|
@ -87,7 +92,7 @@ class TestConfiguration {
|
|||
request.user = this.defaultUser
|
||||
} else {
|
||||
request.user = {
|
||||
tenantId: this.getTenantId()
|
||||
tenantId: this.getTenantId(),
|
||||
}
|
||||
}
|
||||
request.query = {}
|
||||
|
|
Loading…
Reference in New Issue