mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-26 07:55:50 +03:00
[GH-ISSUE #470] test: authentication_apikey_test.go fails #121
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NemoDacremont on GitHub (Oct 8, 2025).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/470
Originally assigned to: @Tinyblargon on GitHub.
This test fails with this error :
This is because
rawUser.Get()fails to create user with fieldsUser.NameandUser.Realm. The root cause seems to berawConfigUser.GetUserexpecting to have the json attribute'userid'in API response, which is false when making request to/access/users/{userid}(requested in this case throughclientAPI.getUserConfig).Response of
/access/users/{userid}:Response of
/access/users:@Tinyblargon commented on GitHub (Oct 8, 2025):
@NemoDacremont Thank you for reporting this issue. I'll get it fixed asap.