More consistent loading of the test fixtures (#1506)

Remove db setup from the Haskell test suite and include it in the test bash scripts.
This commit is contained in:
Remo
2020-04-29 12:22:15 -05:00
committed by GitHub
parent d4cf8e7abb
commit 8b41b71db7
9 changed files with 18 additions and 27 deletions
-1
View File
@@ -23,7 +23,6 @@ import Test.Hspec
main :: IO ()
main = do
testDbConn <- getEnvVarWithDefault "POSTGREST_TEST_CONNECTION" "postgres://postgrest_test@localhost/postgrest_test"
-- To speed things up, assume setupDb has ben ran in the previous spec.
pool <- P.acquire (3, 10, toS testDbConn)
hspec $ describe "QueryCost" $