Commit 9fc2d25
authored
Fix testCreateTableIndexWithWhere to look up the query by content (#1085)
The test was hardcoding queries[2] to find the CREATE UNIQUE INDEX
output. The dryrun message buffer now contains additional phinxlog
setup messages before the create-index call, so the position drifted
and the test failed locally. Look the query up by its expected prefix
instead, which makes the test robust to ordering changes around it.1 parent 0ed971d commit 9fc2d25
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
382 | 388 | | |
383 | 389 | | |
384 | 390 | | |
| |||
0 commit comments