From: Jérôme Benoit Date: Wed, 22 Oct 2025 09:23:09 +0000 (+0200) Subject: test: fix OCPP 2 CS template expectations X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=32704fb7e940216d8839e0ecc22f92c489d2ce5c;p=e-mobility-charging-stations-simulator.git test: fix OCPP 2 CS template expectations 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` ) ) })