change getGroupsByPeers

This commit is contained in:
Pascal Fischer
2025-07-03 16:24:00 +02:00
parent a8cba921e1
commit 8a42528664
2 changed files with 10 additions and 18 deletions

View File

@@ -1367,12 +1367,14 @@ func TestSqlStore_SaveGroups(t *testing.T) {
AccountID: accountID,
Issued: "api",
Peers: []string{"peer1", "peer2"},
Resources: []types.Resource{},
},
{
ID: "group-2",
AccountID: accountID,
Issued: "integration",
Peers: []string{"peer3", "peer4"},
Resources: []types.Resource{},
},
}
err = store.SaveGroups(context.Background(), LockingStrengthUpdate, accountID, groups)