Skip to content

Commit a52bc30

Browse files
committed
test: use following selector in aggregation
1 parent 5d543c4 commit a52bc30

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

feeds_integration_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,12 +1796,11 @@ func test34FeedViewCRUD(t *testing.T, ctx context.Context, feedsClient *getstrea
17961796
updateResponse, err = feedsClient.UpdateFeedView(ctx, feedViewID, &getstream.UpdateFeedViewRequest{
17971797
ActivitySelectors: []getstream.ActivitySelectorConfig{
17981798
{
1799-
Type: "popular",
1800-
MinPopularity: getstream.PtrTo(10),
1799+
Type: "following",
18011800
},
18021801
},
18031802
Aggregation: &getstream.AggregationConfig{
1804-
Format: getstream.PtrTo("popularity_based"),
1803+
Format: getstream.PtrTo("verb"),
18051804
},
18061805
})
18071806
if err == nil {

0 commit comments

Comments
 (0)