Automatic Merge
Этот коммит содержится в:
catalintomai
2026-02-17 17:09:27 +01:00
коммит произвёл GitHub
родитель dbd201f208
Коммит 25d7832030
3 изменённых файлов: 390 добавлений и 4 удалений

Просмотреть файл

@@ -1002,8 +1002,11 @@ func TestSharedChannelMembershipSyncSelfReferential(t *testing.T) {
atomic.StoreInt32(countPtr, 0)
}
// Create a new user that will be added "by cluster-2"
// Create a remote user belonging to cluster-2
userFromCluster2 := th.CreateUser()
userFromCluster2.RemoteId = &clusters[1].RemoteId
userFromCluster2, appErr = th.App.UpdateUser(th.Context, userFromCluster2, false)
require.Nil(t, appErr)
_, _, appErr = th.App.AddUserToTeam(th.Context, team.Id, userFromCluster2.Id, th.BasicUser.Id)
require.Nil(t, appErr)