internal/handlers: add accounts pagination

This commit is contained in:
Johan Brandhorst-Satzkorn committed 2024-01-05 07:43:21 -08:00
1 parent d5e8877f2c
commit b7e474d277
7 files changed
+1716 -322

No files matched your search

+1 -4
View File
@@ -357,10 +357,7 @@ func TestCustomMethods(t *testing.T) {
require.NoError(err)
require.Len(al.Items, 2)
userAcct := al.Items[0]
if userAcct.Name == "admin" {
userAcct = al.Items[1]
}
userAcct := al.Items[1]
_, err = userAccountClient.SetPassword(tc.Context(), userAcct.Id, "setpassword", userAcct.Version)
require.Error(err)