graphql-engine/server/tests-hspec/Harness/Backend
Antoine Leblanc dfe9a046f6 Factor backends' metadata in hspec tests.
## Description

This PR adds a `defaultSourceMetadata` expression to each backend's harness file, and introduces `setSource` and `setSources` to factor out all the calls to `replace_metadata` in the tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3425
GitOrigin-RevId: 5eacb156ffa198123262759eb2bbdebe8ab09fd7
2022-01-25 16:35:44 +00:00
..
Citus.hs Factor backends' metadata in hspec tests. 2022-01-25 16:35:44 +00:00
Mysql.hs Factor backends' metadata in hspec tests. 2022-01-25 16:35:44 +00:00
Postgres.hs Factor backends' metadata in hspec tests. 2022-01-25 16:35:44 +00:00
Sqlserver.hs Factor backends' metadata in hspec tests. 2022-01-25 16:35:44 +00:00