fix broken test
This commit is contained in:
parent
66e1f57a3d
commit
2ae960e2ee
|
@ -12,6 +12,7 @@ import {
|
||||||
import { events } from "@budibase/backend-core"
|
import { events } from "@budibase/backend-core"
|
||||||
import sdk from "../../../sdk"
|
import sdk from "../../../sdk"
|
||||||
import { Automation } from "@budibase/types"
|
import { Automation } from "@budibase/types"
|
||||||
|
import { mocks } from "@budibase/backend-core/tests"
|
||||||
|
|
||||||
const MAX_RETRIES = 4
|
const MAX_RETRIES = 4
|
||||||
let {
|
let {
|
||||||
|
@ -194,6 +195,7 @@ describe("/automations", () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
it("triggers a synchronous automation", async () => {
|
it("triggers a synchronous automation", async () => {
|
||||||
|
mocks.licenses.useSyncAutomations()
|
||||||
let automation = collectAutomation()
|
let automation = collectAutomation()
|
||||||
automation = await config.createAutomation(automation)
|
automation = await config.createAutomation(automation)
|
||||||
const res = await request
|
const res = await request
|
||||||
|
|
Loading…
Reference in New Issue