Commit a4ec95b
committed
Fix flaky search form test
The test tries to create a vaccination record with a different programme
to that currently being search across, however because the vaccination
record factory picks programmes at random it's possible that sometimes
the two programmes will match. There's a unique index on the type of
programme meaning when two programmes of the same type are created we
get a unique constraint failure.1 parent 26d1997 commit a4ec95b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
| 547 | + | |
| 548 | + | |
548 | 549 | | |
549 | 550 | | |
550 | 551 | | |
| |||
0 commit comments