Skip to content

Commit

Permalink
Re commented the code
Browse files Browse the repository at this point in the history
Signed-off-by: daveaugustus <pappu.kumar@progress.com>
  • Loading branch information
daveaugustus committed Oct 7, 2024
1 parent 2e9f58f commit 13ce7b0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions components/automate-gateway/eventfeed/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,12 @@ func TestEventFeedCollectEventFeedReturnErrorWithWrongParameters(t *testing.T) {
ctrl := gomock.NewController(t)

mockFeedServiceClient := event_feed_api.NewMockEventFeedServiceClient(ctrl)
mockFeedServiceClient.EXPECT().GetFeed(
context.Background(),
gomock.Any(),
gomock.Any(),
).DoAndReturn(func(c context.Context, action *event_feed_api.FeedRequest, opts ...interface{}) (*event_feed_api.FeedResponse, error) {
return &event_feed_api.FeedResponse{}, nil
})
// mockFeedServiceClient.EXPECT().GetFeed(
// context.Background(),
// gomock.Any(),
// ).DoAndReturn(func(c context.Context, action *event_feed_api.FeedRequest) (*event_feed_api.FeedResponse, error) {
// return &event_feed_api.FeedResponse{}, nil
// })

eventFeedAggregate := subject.NewEventFeedAggregate(mockFeedServiceClient)

Expand Down

0 comments on commit 13ce7b0

Please sign in to comment.