diff --git a/nix/tools/tests.nix b/nix/tools/tests.nix index 4606b1670a..92769e17e5 100644 --- a/nix/tools/tests.nix +++ b/nix/tools/tests.nix @@ -91,16 +91,15 @@ let checkedShellScript { name = "postgrest-dump-schema"; - docs = "Dump the loaded schema's SchemaCache as a yaml file."; + docs = "Dump the loaded schema's SchemaCache in JSON format."; workingDir = "/"; withEnv = postgrest.env; withPath = [ jq ]; } '' - ${withTools.withPg} -f test/spec/fixtures.sql \ + ${withTools.withPg} -f test/spec/fixtures/load.sql \ ${cabal-install}/bin/cabal v2-run ${devCabalOptions} --verbose=0 -- \ - postgrest --dump-schema \ - | ${yq}/bin/yq -y . + postgrest --dump-schema ''; coverage =