This commit is contained in:
Martin McKeaveney 2022-10-01 02:56:08 +01:00
parent 65c70cca4c
commit 2610475150
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ describe("Internal API - /applications endpoints", () => {
it("POST - Create an application from a template, publish and check it renders", async () => { it("POST - Create an application from a template, publish and check it renders", async () => {
// create the app // create the app
const appName = generator.word() const appName = generator.word()
const [response, app] = await createAppFromTemplate({ name: appName }) const [response, app] = await createAppFromTemplate()
expect(response).toHaveStatusCode(200) expect(response).toHaveStatusCode(200)
expect(app.appId).toBeDefined() expect(app.appId).toBeDefined()
config.applications.api.appId = app.appId config.applications.api.appId = app.appId