TestImport: update withApp type
This commit is contained in:
parent
98d709752d
commit
cd6676944d
1 changed files with 2 additions and 2 deletions
|
@ -18,10 +18,10 @@ runDB query = do
|
||||||
pool <- fmap appConnPool getTestYesod
|
pool <- fmap appConnPool getTestYesod
|
||||||
liftIO $ runSqlPersistMPool query pool
|
liftIO $ runSqlPersistMPool query pool
|
||||||
|
|
||||||
withApp :: SpecWith App -> Spec
|
withApp :: SpecWith (App, a -> a) -> Spec
|
||||||
withApp = before $ do
|
withApp = before $ do
|
||||||
settings <- loadAppSettings
|
settings <- loadAppSettings
|
||||||
["config/test-settings.yml", "config/settings.yml"]
|
["config/test-settings.yml", "config/settings.yml"]
|
||||||
[]
|
[]
|
||||||
ignoreEnv
|
ignoreEnv
|
||||||
makeFoundation settings
|
(, id) <$> makeFoundation settings
|
||||||
|
|
Loading…
Reference in a new issue