From fd7710088a385d50663ca8e9096aaba30b568843 Mon Sep 17 00:00:00 2001 From: lucasbrazi666 Date: Thu, 3 Aug 2023 17:49:32 +0200 Subject: [PATCH 1/2] Added SessionStarted in ServerAction type --- src/types/Server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/Server.ts b/src/types/Server.ts index 8dfd19aff6..914ee577d2 100644 --- a/src/types/Server.ts +++ b/src/types/Server.ts @@ -286,6 +286,7 @@ export enum ServerAction { CHARGING_STATION_REGISTERED = 'ChargingStationRegistered', END_OF_CHARGE = 'EndOfCharge', OPTIMAL_CHARGE_REACHED = 'OptimalChargeReached', + SESSION_STARTED = 'SessionStarted', END_OF_SESSION = 'EndOfSession', REQUEST_PASSWORD = 'RequestPassword', USER_ACCOUNT_STATUS_CHANGED = 'UserAccountStatusChanged', From 1e44bbe36b03411dde91cd8a978b3ff29b87f31a Mon Sep 17 00:00:00 2001 From: lucasbrazi666 Date: Sun, 6 Aug 2023 14:04:27 +0200 Subject: [PATCH 2/2] UT - Allow empty MongoDB URI in UT config --- test/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/config.js b/test/config.js index 01c5374a06..c5aa998374 100644 --- a/test/config.js +++ b/test/config.js @@ -203,7 +203,7 @@ const config = convict({ }, uri: { doc: 'connection string URI', - default: null + default: '' }, host: { doc: 'host name',