]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
[autofix.ci] apply automated fixes
authorautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Fri, 17 Apr 2026 00:32:19 +0000 (00:32 +0000)
committerGitHub <noreply@github.com>
Fri, 17 Apr 2026 00:32:19 +0000 (00:32 +0000)
ui/cli/src/commands/ocpp.ts
ui/cli/tests/config.test.ts

index 2536d482fdc34c06d82c6bb5ae5ff199257325af..4f46731af1982cee6b745273ad5640a8b0d30598 100644 (file)
@@ -77,15 +77,43 @@ export const createOcppCommands = (program: Command): Command => {
 
   const simpleOcppCommands: [string, string, ProcedureName][] = [
     ['boot-notification', 'Send OCPP BootNotification', ProcedureName.BOOT_NOTIFICATION],
-    ['diagnostics-status-notification', 'Send OCPP DiagnosticsStatusNotification', ProcedureName.DIAGNOSTICS_STATUS_NOTIFICATION],
-    ['firmware-status-notification', 'Send OCPP FirmwareStatusNotification', ProcedureName.FIRMWARE_STATUS_NOTIFICATION],
-    ['get-15118-ev-certificate', 'Send OCPP Get15118EVCertificate', ProcedureName.GET_15118_EV_CERTIFICATE],
-    ['get-certificate-status', 'Send OCPP GetCertificateStatus', ProcedureName.GET_CERTIFICATE_STATUS],
+    [
+      'diagnostics-status-notification',
+      'Send OCPP DiagnosticsStatusNotification',
+      ProcedureName.DIAGNOSTICS_STATUS_NOTIFICATION,
+    ],
+    [
+      'firmware-status-notification',
+      'Send OCPP FirmwareStatusNotification',
+      ProcedureName.FIRMWARE_STATUS_NOTIFICATION,
+    ],
+    [
+      'get-15118-ev-certificate',
+      'Send OCPP Get15118EVCertificate',
+      ProcedureName.GET_15118_EV_CERTIFICATE,
+    ],
+    [
+      'get-certificate-status',
+      'Send OCPP GetCertificateStatus',
+      ProcedureName.GET_CERTIFICATE_STATUS,
+    ],
     ['heartbeat', 'Send OCPP Heartbeat', ProcedureName.HEARTBEAT],
-    ['log-status-notification', 'Send OCPP LogStatusNotification', ProcedureName.LOG_STATUS_NOTIFICATION],
-    ['notify-customer-information', 'Send OCPP NotifyCustomerInformation', ProcedureName.NOTIFY_CUSTOMER_INFORMATION],
+    [
+      'log-status-notification',
+      'Send OCPP LogStatusNotification',
+      ProcedureName.LOG_STATUS_NOTIFICATION,
+    ],
+    [
+      'notify-customer-information',
+      'Send OCPP NotifyCustomerInformation',
+      ProcedureName.NOTIFY_CUSTOMER_INFORMATION,
+    ],
     ['notify-report', 'Send OCPP NotifyReport', ProcedureName.NOTIFY_REPORT],
-    ['security-event-notification', 'Send OCPP SecurityEventNotification', ProcedureName.SECURITY_EVENT_NOTIFICATION],
+    [
+      'security-event-notification',
+      'Send OCPP SecurityEventNotification',
+      ProcedureName.SECURITY_EVENT_NOTIFICATION,
+    ],
     ['sign-certificate', 'Send OCPP SignCertificate', ProcedureName.SIGN_CERTIFICATE],
     ['transaction-event', 'Send OCPP TransactionEvent', ProcedureName.TRANSACTION_EVENT],
   ]
index 9bff41f2a4d13d0554290536453502333d38fb2f..ee4a19f31499338007f23808cf5b340ec75417c6 100644 (file)
@@ -3,7 +3,13 @@ import { mkdir, mkdtemp, rm, writeFile } from 'node:fs/promises'
 import { tmpdir } from 'node:os'
 import { join } from 'node:path'
 import { afterEach, beforeEach, describe, it } from 'node:test'
-import { DEFAULT_HOST, DEFAULT_PORT, DEFAULT_PROTOCOL, DEFAULT_PROTOCOL_VERSION, DEFAULT_SECURE } from 'ui-common'
+import {
+  DEFAULT_HOST,
+  DEFAULT_PORT,
+  DEFAULT_PROTOCOL,
+  DEFAULT_PROTOCOL_VERSION,
+  DEFAULT_SECURE,
+} from 'ui-common'
 
 import { loadConfig } from '../src/config/loader.js'