Skip to content

Commit

Permalink
change AnythingOfTypeArgument to AnythingOfType
Browse files Browse the repository at this point in the history
  • Loading branch information
mickmister committed Jun 10, 2024
1 parent 558d437 commit 3bf161a
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 3bf161a

Please sign in to comment.