diff --git a/test/ConfigurationTest.hs b/test/ConfigurationTest.hs index 0b1fd71..943d1ea 100644 --- a/test/ConfigurationTest.hs +++ b/test/ConfigurationTest.hs @@ -24,7 +24,6 @@ tests = sequence [prepareTestEnv >> e | e <- entries] prepareTestEnv :: IO () prepareTestEnv = do setCurrentDirectory $ testFile "config_loading" - unsetEnv "DBM_DATABASE_TYPE" unsetEnv "DBM_DATABASE" unsetEnv "DBM_MIGRATION_STORE" unsetEnv "DBM_LINEAR_MIGRATIONS" @@ -62,7 +61,6 @@ loadsDefaultConfigFile = do environmentOverridesProperties :: IO Test environmentOverridesProperties = do - setEnv "DBM_DATABASE_TYPE" "envdb" setEnv "DBM_DATABASE" "envconn" setEnv "DBM_MIGRATION_STORE" "envstore" setEnv "DBM_LINEAR_MIGRATIONS" "off" @@ -77,7 +75,6 @@ environmentOverridesProperties = do ifNoConfigFileIsAvailableEnvironmentIsUsed :: IO Test ifNoConfigFileIsAvailableEnvironmentIsUsed = do setCurrentDirectory $ testFile "" - setEnv "DBM_DATABASE_TYPE" "envdb" setEnv "DBM_DATABASE" "envconn" setEnv "DBM_MIGRATION_STORE" "envstore" setEnv "DBM_LINEAR_MIGRATIONS" "off" diff --git a/test/config_loading/cfg1.cfg b/test/config_loading/cfg1.cfg index aaa77e9..4804398 100644 --- a/test/config_loading/cfg1.cfg +++ b/test/config_loading/cfg1.cfg @@ -1,4 +1,3 @@ -DBM_DATABASE_TYPE = "dbtype" DBM_DATABASE = "connection" DBM_MIGRATION_STORE = "store" DBM_LINEAR_MIGRATIONS = on diff --git a/test/config_loading/cfg_ts.cfg b/test/config_loading/cfg_ts.cfg index 2eadd89..8ca8844 100644 --- a/test/config_loading/cfg_ts.cfg +++ b/test/config_loading/cfg_ts.cfg @@ -1,4 +1,3 @@ -DBM_DATABASE_TYPE = "dbtype" DBM_DATABASE = "connection" DBM_MIGRATION_STORE = "store" DBM_LINEAR_MIGRATIONS = on diff --git a/test/config_loading/moo.cfg b/test/config_loading/moo.cfg index 06a91d0..af94e74 100644 --- a/test/config_loading/moo.cfg +++ b/test/config_loading/moo.cfg @@ -1,4 +1,3 @@ -DBM_DATABASE_TYPE = "moodb" DBM_DATABASE = "mooconn" DBM_MIGRATION_STORE = "moostore" DBM_LINEAR_MIGRATIONS = on