Adjust tests to use new-style app config

This commit is contained in:
Joe Nelson
2014-12-07 18:54:27 -08:00
parent 638cd3d49d
commit 4f9132af43
+1 -1
View File
@@ -34,7 +34,7 @@ isLeft (Left _ ) = True
isLeft _ = False
cfg :: AppConfig
cfg = AppConfig "postgres://dbapi_test:@localhost:5432/dbapi_test" 9000 "dbapi_anonymous" False 10
cfg = AppConfig "dbapi_test" 5432 "dbapi_test" "" "localhost" 3000 "dbapi_anonymous" False 10
testSettings :: SessionSettings
testSettings = fromMaybe (error "bad settings") $ H.sessionSettings 1 30