Commit 05dd9e6
committed
fix(tests): use Sequence for UserFactory username to avoid duplicates
Faker("user_name") can generate collisions when many users are created
in a single test, causing UniqueViolation on the username field.1 parent 643420e commit 05dd9e6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments