Files
mostlymatter/app
Agniva De Sarker cae59d327c MM-29486: Fix racy test TestPatchChannelModeration (#16256)
* MM-29486: Fix racy test TestPatchChannelModeration

- We avoid appending to the slice in `(r *Role) IsValidWithoutId`
by just iterating the 2 slices separately.
- We pass deep copies of channels to prevent racy modification.

https://mattermost.atlassian.net/browse/MM-29486

```release-note
NONE
```

* fix lint

* simplify perm check

* improve more

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-11-12 15:26:35 +05:30
..
2020-09-23 08:51:12 +02:00
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-08-20 19:37:19 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-10-26 15:11:27 +05:30
2020-07-28 10:27:24 +05:30
2020-10-26 15:11:27 +05:30
2020-08-13 11:12:08 +05:30
2020-10-26 15:11:27 +05:30