tidy up
This commit is contained in:
parent
65c70cca4c
commit
2610475150
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue