diff --git a/packages/server/src/api/routes/public/tests/compare.spec.ts b/packages/server/src/api/routes/public/tests/compare.spec.ts index ccf248f360..29d9767b85 100644 --- a/packages/server/src/api/routes/public/tests/compare.spec.ts +++ b/packages/server/src/api/routes/public/tests/compare.spec.ts @@ -68,7 +68,7 @@ describe("check the applications endpoints", () => { describe("check the tables endpoints", () => { it("should allow retrieving tables through search", async () => { - await config.createApp("new app 1") + await config.createApp({ appName: "new app 1" }) table = await config.upsertTable() const res = await makeRequest("post", "/tables/search") expect(res).toSatisfyApiSpec() diff --git a/packages/server/src/migrations/functions/tests/tableSettings.spec.ts b/packages/server/src/migrations/functions/tests/tableSettings.spec.ts index 8d28a43322..84e26c80f3 100644 --- a/packages/server/src/migrations/functions/tests/tableSettings.spec.ts +++ b/packages/server/src/migrations/functions/tests/tableSettings.spec.ts @@ -11,7 +11,7 @@ describe("run", () => { beforeAll(async () => { await config.init() - app = await config.createApp("testApp") + app = await config.createApp({ appName: "testApp" }) screen = await config.createScreen() }) diff --git a/packages/server/src/migrations/functions/usageQuotas/tests/syncApps.spec.ts b/packages/server/src/migrations/functions/usageQuotas/tests/syncApps.spec.ts index 1d4d4d0f71..3b6d7b66b2 100644 --- a/packages/server/src/migrations/functions/usageQuotas/tests/syncApps.spec.ts +++ b/packages/server/src/migrations/functions/usageQuotas/tests/syncApps.spec.ts @@ -22,7 +22,7 @@ describe("syncApps", () => { expect(usageDoc.usageQuota.apps).toEqual(3) // create an extra app to test the migration - await config.createApp("quota-test") + await config.createApp({ appName: "quota-test" }) // migrate await syncApps.run() diff --git a/packages/server/src/migrations/functions/usageQuotas/tests/syncRows.spec.ts b/packages/server/src/migrations/functions/usageQuotas/tests/syncRows.spec.ts index 730278683c..cc3daa465f 100644 --- a/packages/server/src/migrations/functions/usageQuotas/tests/syncRows.spec.ts +++ b/packages/server/src/migrations/functions/usageQuotas/tests/syncRows.spec.ts @@ -29,7 +29,7 @@ describe("syncRows", () => { await config.createRow() }) // app 2 - const app2 = await config.createApp("second-app") + const app2 = await config.createApp({ appName: "second-app" }) await context.doInAppContext(app2.appId, async () => { await config.createTable() await config.createRow()