mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-25 13:58:46 +00:00
facotry to fileter
This commit is contained in:
@@ -317,7 +317,7 @@ func TestUserReadModel(t *testing.T) {
|
||||
fmt.Printf("%+v\n", events)
|
||||
|
||||
users := UsersReadModel{}
|
||||
err = es.FilterToReducer(context.Background(), eventstore.NewSearchQueryFactory(eventstore.ColumnsEvent, "test.user"), &users)
|
||||
err = es.FilterToReducer(context.Background(), eventstore.NewSearchQueryBuilder(eventstore.ColumnsEvent, "test.user"), &users)
|
||||
if err != nil {
|
||||
t.Errorf("unexpected error on filter to reducer: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user