diff --git a/server/channels/app/integration_action_test.go b/server/channels/app/integration_action_test.go index e8283d8d7fe..337f3a9c76a 100644 --- a/server/channels/app/integration_action_test.go +++ b/server/channels/app/integration_action_test.go @@ -229,7 +229,7 @@ func TestPostActionResponseSizeLimit(t *testing.T) { }, } - post, err := th.App.CreatePostAsUser(th.Context, &interactivePost, "", true) + post, _, err := th.App.CreatePostAsUser(th.Context, &interactivePost, "", true) require.Nil(t, err) attachments, ok := post.GetProp(model.PostPropsAttachments).([]*model.SlackAttachment) require.True(t, ok) @@ -272,7 +272,7 @@ func TestPostActionResponseSizeLimit(t *testing.T) { }, } - post, err := th.App.CreatePostAsUser(th.Context, &interactivePost, "", true) + post, _, err := th.App.CreatePostAsUser(th.Context, &interactivePost, "", true) require.Nil(t, err) attachments, ok := post.GetProp(model.PostPropsAttachments).([]*model.SlackAttachment) require.True(t, ok)