Fixing config test case.

This commit is contained in:
mike12345567 2021-07-30 14:23:40 +01:00
parent 5dfeb9b3ca
commit 79c5f01267
2 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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() {