]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(tests): migrate hardcoded test tags to shared constants
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 2 Apr 2026 21:48:18 +0000 (23:48 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 2 Apr 2026 21:48:18 +0000 (23:48 +0200)
commitfd00f4215bbc360345f833eee8632627aad590dd
treef274a22758d2d0bcff4ec4e91cc6af49384104dd
parent5690da477c2d6c2bd17c3fd4e95598f2fd39fd77
refactor(tests): migrate hardcoded test tags to shared constants

Replace 41 hardcoded tag/token strings across 13 test files
with imports from ChargingStationTestConstants. Includes
test utility factories. Normalize import paths to shortest
relative form and merge duplicate imports.
12 files changed:
tests/charging-station/ocpp/1.6/OCPP16IncomingRequestService-RemoteStartTransaction.test.ts
tests/charging-station/ocpp/1.6/OCPP16IncomingRequestService-Reservation.test.ts
tests/charging-station/ocpp/1.6/OCPP16Integration-Transactions.test.ts
tests/charging-station/ocpp/1.6/OCPP16RequestService-Payloads.test.ts
tests/charging-station/ocpp/1.6/OCPP16ResponseService-Transactions.test.ts
tests/charging-station/ocpp/1.6/OCPP16SchemaValidation.test.ts
tests/charging-station/ocpp/1.6/OCPP16TestUtils.ts
tests/charging-station/ocpp/OCPPConnectorStatusOperations.test.ts
tests/charging-station/ocpp/auth/adapters/OCPP16AuthAdapter.test.ts
tests/charging-station/ocpp/auth/helpers/MockFactories.ts
tests/charging-station/ocpp/auth/services/OCPPAuthServiceImpl.test.ts
tests/charging-station/ocpp/auth/strategies/RemoteAuthStrategy.test.ts