From 335e44de42aee412d941750c9aad0d31273ddaa1 Mon Sep 17 00:00:00 2001 From: marcopiraccini Date: Mon, 30 Sep 2024 16:39:08 +0200 Subject: [PATCH] Fix for tests after plt2 release Signed-off-by: marcopiraccini --- test/fixtures/runtime/platformatic.json | 9 ++------- test/main/applications.test.mjs | 3 +-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/test/fixtures/runtime/platformatic.json b/test/fixtures/runtime/platformatic.json index db164dea..4932386e 100644 --- a/test/fixtures/runtime/platformatic.json +++ b/test/fixtures/runtime/platformatic.json @@ -1,16 +1,11 @@ { "$schema": "https://platformatic.dev/schemas/v1.22.0/runtime", "entrypoint": "service-1", - "hotReload": false, "autoload": { "path": "./services" }, "server": { "hostname": "{PLT_SERVER_HOSTNAME}", - "port": "{PORT}", - "logger": { - "level": "{PLT_SERVER_LOGGER_LEVEL}" - } - }, - "managementApi": true + "port": "{PORT}" + } } diff --git a/test/main/applications.test.mjs b/test/main/applications.test.mjs index 2dcbef0e..b6278f51 100644 --- a/test/main/applications.test.mjs +++ b/test/main/applications.test.mjs @@ -295,7 +295,7 @@ test('open application', async (t) => { }) .reply(200, { 'dist-tags': { - latest: '2.0.0' + latest: '3.0.0' } }) @@ -328,7 +328,6 @@ test('open application', async (t) => { configPath: `${appDir}/platformatic.json`, entrypoint: 'service-1', port: 3042, - loggerLevel: 'info', services: [ { id: 'service-1',