Commit 1501444
Fix random collisions in tests widening mt_rand ranges
Increase mt_rand range from (1, 99) to (1, 999999) in getRandomProvince
and from (1, 999) to (1, 999999) in ProductoTest::getTestSupplier to
avoid duplicate key errors on CI.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5f2d7e7 commit 1501444
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
767 | | - | |
| 767 | + | |
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
0 commit comments