1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Fixing config test case.

This commit is contained in:
mike12345567 2021-07-30 14:23:40 +01:00
parent a21fd3e0ee
commit 4dbec64801
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() {