From c3a41112923f2de1cfe14f68b670db694575357d Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Wed, 28 Oct 2020 22:13:16 +0000 Subject: [PATCH] Some quick fixes. --- packages/server/src/api/routes/tests/accesslevel.spec.js | 1 - packages/server/src/api/routes/tests/application.spec.js | 1 - packages/server/src/api/routes/tests/automation.spec.js | 1 - packages/server/src/utilities/builder/setBuilderToken.js | 1 - 4 files changed, 4 deletions(-) diff --git a/packages/server/src/api/routes/tests/accesslevel.spec.js b/packages/server/src/api/routes/tests/accesslevel.spec.js index ae0453e44b..4f27bc8bc0 100644 --- a/packages/server/src/api/routes/tests/accesslevel.spec.js +++ b/packages/server/src/api/routes/tests/accesslevel.spec.js @@ -27,7 +27,6 @@ describe("/accesslevels", () => { afterAll(done => { server.close(done) - process.exit(0) }) beforeEach(async () => { diff --git a/packages/server/src/api/routes/tests/application.spec.js b/packages/server/src/api/routes/tests/application.spec.js index 285578b969..cbf84691e3 100644 --- a/packages/server/src/api/routes/tests/application.spec.js +++ b/packages/server/src/api/routes/tests/application.spec.js @@ -20,7 +20,6 @@ describe("/applications", () => { afterAll(done => { server.close(done) - process.exit(0) }) describe("create", () => { diff --git a/packages/server/src/api/routes/tests/automation.spec.js b/packages/server/src/api/routes/tests/automation.spec.js index b8e5897a4e..c28542c348 100644 --- a/packages/server/src/api/routes/tests/automation.spec.js +++ b/packages/server/src/api/routes/tests/automation.spec.js @@ -55,7 +55,6 @@ describe("/automations", () => { afterAll(done => { server.close(done) - process.exit(0) }) const createAutomation = async () => { diff --git a/packages/server/src/utilities/builder/setBuilderToken.js b/packages/server/src/utilities/builder/setBuilderToken.js index 06e95e7965..ff057a90eb 100644 --- a/packages/server/src/utilities/builder/setBuilderToken.js +++ b/packages/server/src/utilities/builder/setBuilderToken.js @@ -7,7 +7,6 @@ module.exports = (ctx, instanceId, version) => { userId: "BUILDER", accessLevelId: BUILDER_LEVEL_ID, instanceId, - appId, version, } if (env.BUDIBASE_API_KEY) {