add accountID to test data

This commit is contained in:
pascal
2026-04-23 17:53:04 +02:00
parent 4051af499a
commit 381858a865
@@ -39,6 +39,7 @@ var usersTestAccount = &types.Account{
Users: map[string]*types.User{ Users: map[string]*types.User{
existingUserID: { existingUserID: {
Id: existingUserID, Id: existingUserID,
AccountID: existingAccountID,
Role: "admin", Role: "admin",
IsServiceUser: false, IsServiceUser: false,
AutoGroups: []string{"group_1"}, AutoGroups: []string{"group_1"},
@@ -46,6 +47,7 @@ var usersTestAccount = &types.Account{
}, },
regularUserID: { regularUserID: {
Id: regularUserID, Id: regularUserID,
AccountID: existingAccountID,
Role: "user", Role: "user",
IsServiceUser: false, IsServiceUser: false,
AutoGroups: []string{"group_1"}, AutoGroups: []string{"group_1"},
@@ -53,6 +55,7 @@ var usersTestAccount = &types.Account{
}, },
serviceUserID: { serviceUserID: {
Id: serviceUserID, Id: serviceUserID,
AccountID: existingAccountID,
Role: "user", Role: "user",
IsServiceUser: true, IsServiceUser: true,
AutoGroups: []string{"group_1"}, AutoGroups: []string{"group_1"},
@@ -60,6 +63,7 @@ var usersTestAccount = &types.Account{
}, },
nonDeletableServiceUserID: { nonDeletableServiceUserID: {
Id: nonDeletableServiceUserID, Id: nonDeletableServiceUserID,
AccountID: existingAccountID,
Role: "admin", Role: "admin",
IsServiceUser: true, IsServiceUser: true,
NonDeletable: true, NonDeletable: true,