Skip to content

Commit

Permalink
change AnythingOfTypeArgument to AnythingOfType (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickmister authored Jun 10, 2024
1 parent e38f636 commit 4eebd6f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions server/service/notification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,16 @@ func TestGetNotificationsChannelIDs(t *testing.T) {
defer monkey.UnpatchAll()
mockAPI := baseMock()
mockAPI.On("LogError",
mock.AnythingOfTypeArgument("string"),
mock.AnythingOfTypeArgument("string"),
mock.AnythingOfTypeArgument("string"),
mock.AnythingOfTypeArgument("string"),
mock.AnythingOfTypeArgument("string"),
mock.AnythingOfTypeArgument("string"),
mock.AnythingOfTypeArgument("string"),
mock.AnythingOfTypeArgument("string"),
mock.AnythingOfTypeArgument("string"),
mock.AnythingOfTypeArgument("string")).Return(nil)
mock.AnythingOfType("string"),
mock.AnythingOfType("string"),
mock.AnythingOfType("string"),
mock.AnythingOfType("string"),
mock.AnythingOfType("string"),
mock.AnythingOfType("string"),
mock.AnythingOfType("string"),
mock.AnythingOfType("string"),
mock.AnythingOfType("string"),
mock.AnythingOfType("string")).Return(nil)
mockAPI.On("CreatePost", mock.AnythingOfType(model.Post{}.Type)).Return(&model.Post{}, nil)
monkey.Patch(GetSubscriptionsByURLSpaceKey, func(url, spaceKey string) (serializer.StringArrayMap, error) {
return val.urlSpaceKeyCombinationSubscriptions, nil
Expand Down

0 comments on commit 4eebd6f

Please sign in to comment.