diff --git a/server/channels/app/notification_test.go b/server/channels/app/notification_test.go index 9328e7ab86..9c4b6efc1e 100644 --- a/server/channels/app/notification_test.go +++ b/server/channels/app/notification_test.go @@ -1089,7 +1089,6 @@ func TestAllowChannelMentions(t *testing.T) { } func TestAllowGroupMentions(t *testing.T) { - t.Skip("MM-41972") th := Setup(t).InitBasic() defer th.TearDown() @@ -1115,6 +1114,9 @@ func TestAllowGroupMentions(t *testing.T) { } }) + // we set the enterprise license for the rest of the tests + th.App.Srv().SetLicense(getLicWithSkuShortName(model.LicenseShortSkuEnterprise)) + t.Run("should return true for a regular post with few channel members", func(t *testing.T) { allowGroupMentions := th.App.allowGroupMentions(th.Context, post) assert.True(t, allowGroupMentions)