Commit 2083904
authored
Fix MySQL backwards compatibility test failure (#5085)
Sequel::Postgres::Dataset is only defined when the postgres adapter is
loaded. In regular CI, the case_insensitive_string_monkeypatch requires
sequel/adapters/postgres unconditionally, making the constant available
even in MySQL runs. The backwards compatibility tests skip migrations
(NO_DB_MIGRATION=true), so the monkeypatch is never loaded and the
constant is undefined.
Use Sequel::Dataset instead, which is always available and sufficient
for the mock (it only needs .update).1 parent 340829f commit 2083904
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
| 451 | + | |
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| |||
0 commit comments