From 39dc533b58ea9d29e0285d97348848b455791832 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Thu, 16 Nov 2023 14:37:42 +0100 Subject: [PATCH 1/2] do not override REST controller --- spec/helper.js | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/helper.js b/spec/helper.js index d393ef1d17..f947f78c85 100644 --- a/spec/helper.js +++ b/spec/helper.js @@ -166,7 +166,6 @@ const reconfigureServer = async (changedConfiguration = {}) => { cache.clear(); const parseServer = await ParseServer.startApp(newConfiguration); server = parseServer.server; - Parse.CoreManager.setRESTController(RESTController); parseServer.expressApp.use('/1', err => { console.error(err); fail('should not call next'); From 44fbab9db631a6c83cfe0a1cfe50dc8b9dd94e3c Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Thu, 16 Nov 2023 14:40:23 +0100 Subject: [PATCH 2/2] fix lint --- spec/helper.js | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/helper.js b/spec/helper.js index f947f78c85..448d3a01f1 100644 --- a/spec/helper.js +++ b/spec/helper.js @@ -44,7 +44,6 @@ const PostgresStorageAdapter = require('../lib/Adapters/Storage/Postgres/Postgre .default; const MongoStorageAdapter = require('../lib/Adapters/Storage/Mongo/MongoStorageAdapter').default; const RedisCacheAdapter = require('../lib/Adapters/Cache/RedisCacheAdapter').default; -const RESTController = require('parse/lib/node/RESTController'); const { VolatileClassesSchemas } = require('../lib/Controllers/SchemaController'); const mongoURI = 'mongodb://localhost:27017/parseServerMongoAdapterTestDatabase';