Fixing config test case.
This commit is contained in:
parent
5dfeb9b3ca
commit
79c5f01267
|
@ -13,14 +13,12 @@ describe("/api/global/configs/checklist", () => {
|
|||
let config = setup.getConfig()
|
||||
|
||||
beforeAll(async () => {
|
||||
await config.init(false)
|
||||
await config.init()
|
||||
})
|
||||
|
||||
afterAll(setup.afterAll)
|
||||
|
||||
it("should return the correct checklist status based on the state of the budibase installation", async () => {
|
||||
// initially configure settings
|
||||
await config.saveAdminUser()
|
||||
await config.saveSmtpConfig()
|
||||
|
||||
const res = await request
|
||||
|
|
|
@ -62,11 +62,11 @@ class TestConfiguration {
|
|||
null,
|
||||
controllers.users.save
|
||||
)
|
||||
await createASession("us_uuid1", {
|
||||
sessionId: "sessionid",
|
||||
tenantId: TENANT_ID,
|
||||
})
|
||||
}
|
||||
await createASession("us_uuid1", {
|
||||
sessionId: "sessionid",
|
||||
tenantId: TENANT_ID,
|
||||
})
|
||||
}
|
||||
|
||||
async end() {
|
||||
|
|
Loading…
Reference in New Issue