Commit 5fa5964
committed
test: Use random email in eg.user
This specifically fixes a runtime error from the test
"find account among several" in
`test/notifications/display_test.dart` due to duplicate email
addresses within a realm. This also useful in general in cases
when the email addresses do not matter and should be kept boring.
The generation approach is similar to an ID, to make collision
unlikely (still possible with caller specified values).
Signed-off-by: Zixuan James Li <zixuan@zulip.com>1 parent 9ee210a commit 5fa5964
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
80 | 88 | | |
81 | 89 | | |
82 | 90 | | |
| |||
87 | 95 | | |
88 | 96 | | |
89 | 97 | | |
90 | | - | |
| 98 | + | |
91 | 99 | | |
92 | 100 | | |
93 | 101 | | |
| |||
0 commit comments