From: Jérôme Benoit Date: Wed, 22 Oct 2025 08:52:37 +0000 (+0200) Subject: test: fix ocpp2 test expectation X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2ce6c3ba19c8860bbcea2b9e488b1e5b2ccb3b64;p=e-mobility-charging-stations-simulator.git test: fix ocpp2 test expectation Signed-off-by: Jérôme Benoit --- diff --git a/tests/charging-station/Helpers.test.ts b/tests/charging-station/Helpers.test.ts index 93fa6495..71a1a009 100644 --- a/tests/charging-station/Helpers.test.ts +++ b/tests/charging-station/Helpers.test.ts @@ -123,7 +123,7 @@ await describe('Helpers test suite', async () => { validateStationInfo(chargingStation) }).toThrow( new BaseError( - `${baseName}-00001: OCPP 2.0 or superior requires at least one EVSE defined in the charging station template/configuration` + `${baseName}-00001: OCPP 2.0.x requires at least one EVSE defined in the charging station template/configuration` ) ) chargingStation.stationInfo.ocppVersion = OCPPVersion.VERSION_201 @@ -131,7 +131,7 @@ await describe('Helpers test suite', async () => { validateStationInfo(chargingStation) }).toThrow( new BaseError( - `${baseName}-00001: OCPP 2.0 or superior requires at least one EVSE defined in the charging station template/configuration` + `${baseName}-00001: OCPP 2.0.x requires at least one EVSE defined in the charging station template/configuration` ) ) })