diff --git a/integration-tests/realm-apps/with-custom-function/functions/customAuthentication/source.js b/integration-tests/realm-apps/with-custom-function/functions/customAuthentication/source.js index 46e2e34fda..eb7b992bf5 100644 --- a/integration-tests/realm-apps/with-custom-function/functions/customAuthentication/source.js +++ b/integration-tests/realm-apps/with-custom-function/functions/customAuthentication/source.js @@ -21,7 +21,7 @@ exports = async function (loginPayload) { // Get a handle for the app.users collection - const users = context.services.get("local-mongodb").db("app").collection("users"); + const users = context.services.get("mongodb").db("app").collection("users"); // Parse out custom data from the FunctionCredential diff --git a/integration-tests/realm-apps/with-custom-function/services/local-mongodb/config.json b/integration-tests/realm-apps/with-custom-function/services/mongodb/config.json similarity index 68% rename from integration-tests/realm-apps/with-custom-function/services/local-mongodb/config.json rename to integration-tests/realm-apps/with-custom-function/services/mongodb/config.json index 302258890c..c021f78cea 100644 --- a/integration-tests/realm-apps/with-custom-function/services/local-mongodb/config.json +++ b/integration-tests/realm-apps/with-custom-function/services/mongodb/config.json @@ -1,8 +1,9 @@ { - "name": "local-mongodb", + "name": "mongodb", "type": "mongodb", "config": {}, "secret_config": { "uri": "local-mongodb-uri" - } + }, + "version": 1 } \ No newline at end of file