Run QueryLimitedSpec with its own server flags

This commit is contained in:
Joe Nelson
2016-02-22 19:21:39 -08:00
parent c02dd4aa98
commit c28b26d949
2 changed files with 11 additions and 2 deletions
+4
View File
@@ -21,6 +21,10 @@ testCfg :: AppConfig
testCfg =
AppConfig testDbConn "postgrest_test_anonymous" "test" 3000 (secret "safe") 10 Nothing True
testLtdRowsCfg :: AppConfig
testLtdRowsCfg =
AppConfig testDbConn "postgrest_test_anonymous" "test" 3000 (secret "safe") 10 (Just 3) True
setupDb :: IO ()
setupDb = do
void $ readProcess "psql" ["-d", "postgres", "-a", "-f", "test/fixtures/database.sql"] []