Change api type back
This commit is contained in:
parent
020927ae6c
commit
e1640cccf9
|
@ -748,7 +748,7 @@ export async function duplicateApp(
|
|||
const createRequestBody: CreateAppRequest = {
|
||||
name: appName,
|
||||
url: possibleUrl,
|
||||
useTemplate: true,
|
||||
useTemplate: "true",
|
||||
// The app export path
|
||||
file: {
|
||||
path: tmpPath,
|
||||
|
|
|
@ -139,7 +139,7 @@ describe("/applications", () => {
|
|||
it("creates app from template", async () => {
|
||||
const app = await config.api.application.create({
|
||||
name: utils.newid(),
|
||||
useTemplate: true,
|
||||
useTemplate: "true",
|
||||
templateKey: "test",
|
||||
})
|
||||
expect(app._id).toBeDefined()
|
||||
|
@ -150,7 +150,7 @@ describe("/applications", () => {
|
|||
it("creates app from file", async () => {
|
||||
const app = await config.api.application.create({
|
||||
name: utils.newid(),
|
||||
useTemplate: true,
|
||||
useTemplate: "true",
|
||||
fileToImport: "src/api/routes/tests/data/export.txt",
|
||||
})
|
||||
expect(app._id).toBeDefined()
|
||||
|
@ -170,7 +170,7 @@ describe("/applications", () => {
|
|||
it("migrates navigation settings from old apps", async () => {
|
||||
const app = await config.api.application.create({
|
||||
name: utils.newid(),
|
||||
useTemplate: true,
|
||||
useTemplate: "true",
|
||||
fileToImport: "src/api/routes/tests/data/old-app.txt",
|
||||
})
|
||||
expect(app._id).toBeDefined()
|
||||
|
|
|
@ -95,7 +95,7 @@ describe("/templates", () => {
|
|||
const app = await config.api.application.create({
|
||||
name,
|
||||
url,
|
||||
useTemplate: true,
|
||||
useTemplate: "true",
|
||||
templateName: "Agency Client Portal",
|
||||
templateKey: "app/agency-client-portal",
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue