Improve pagination (#105)
This commit is contained in:
parent
89f385a53d
commit
8948a5f219
97 changed files with 2137 additions and 529 deletions
|
|
@ -202,7 +202,7 @@ func TestNamespaceUser_ReadAll(t *testing.T) {
|
|||
CRUDable: tt.fields.CRUDable,
|
||||
Rights: tt.fields.Rights,
|
||||
}
|
||||
got, err := un.ReadAll(tt.args.search, tt.args.a, tt.args.page)
|
||||
got, _, _, err := un.ReadAll(tt.args.a, tt.args.search, tt.args.page, 50)
|
||||
if (err != nil) != tt.wantErr {
|
||||
t.Errorf("NamespaceUser.ReadAll() error = %v, wantErr %v", err, tt.wantErr)
|
||||
return
|
||||
|
|
|
|||
Reference in a new issue