Skip to content

chore: sort datastore golden file test dumps and snapshots

Preparatory refactoring MR for #511 (closed).

I got tired of refreshing golden files every time a column is added or changed. This was a problem because we currently don't have any SORT BY directive in the query used to dump test tables (and generate/compare golden files) and PostgreSQL will pick a different sort order with most changes we make.

This MR adds a SORT BY directive to the dump query and updates all golden files with no other application changes.

Merge request reports

Loading