mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-08-20 01:42:17 +00:00
c1a9dd5ca1
144 tests covering authentication (version parsing, session expiry, token format validation), model deserialization from real PVE 8.x/9.x API JSON fixtures, and service layer behavior. Includes TestHelper with mock HttpMessageHandler factory and 21 JSON fixture files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2 lines
518 B
JSON
2 lines
518 B
JSON
{"data":[{"vmid":100,"name":"test-vm-1","status":"running","node":"pve1","cpus":4,"maxmem":8589934592,"maxdisk":107374182400,"uptime":86400,"tags":"prod;web","template":0,"pid":12345,"qmpstatus":"running","agent":1},{"vmid":101,"name":"test-vm-2","status":"stopped","node":"pve1","cpus":2,"maxmem":4294967296,"maxdisk":53687091200,"uptime":0,"tags":"dev","template":0},{"vmid":9000,"name":"ubuntu-template","status":"stopped","node":"pve1","cpus":2,"maxmem":4294967296,"maxdisk":53687091200,"uptime":0,"template":1}]}
|