Files
mostlymatter/app
Agniva De Sarker fdf1afadf3 Fix Flaky test UpdateUserEmail (#18750)
Since the email sending would run in a separate goroutine,
it was possible that during the second th.App.UpdateUser call
the goroutine would run much later.

So the secondToken would be the same as the firstToken,
and the test would fail.

The fix is to ensure that the token received is different
from the firstToken.

https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4?c=254a9782-a59b-4d38-8886-4927f593e715

```release-note
NONE
```
2021-10-19 19:17:08 +05:30
..
2021-08-17 16:08:04 -04:00
2021-08-17 16:08:04 -04:00
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-08-17 16:08:04 -04:00
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30
2021-10-12 11:39:49 +05:30