]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
test: fix OCPP 2 CS template expectations
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 22 Oct 2025 09:23:09 +0000 (11:23 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 22 Oct 2025 09:23:09 +0000 (11:23 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
tests/charging-station/Helpers.test.ts

index 93fa649508b2243c01a1fa636187f95071c6e977..71a1a00953f8f5b23511549c7f7333d6e50cf80c 100644 (file)
@@ -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`
       )
     )
   })