Skip to content

Commit

Permalink
test-suite: remove remaining uses of DBM_DATABASE_TYPE
Browse files Browse the repository at this point in the history
  • Loading branch information
jtdaugherty committed Oct 22, 2016
1 parent ab95562 commit 4a61aa3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions test/ConfigurationTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down
1 change: 0 additions & 1 deletion test/config_loading/cfg1.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
DBM_DATABASE_TYPE = "dbtype"
DBM_DATABASE = "connection"
DBM_MIGRATION_STORE = "store"
DBM_LINEAR_MIGRATIONS = on
1 change: 0 additions & 1 deletion test/config_loading/cfg_ts.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
DBM_DATABASE_TYPE = "dbtype"
DBM_DATABASE = "connection"
DBM_MIGRATION_STORE = "store"
DBM_LINEAR_MIGRATIONS = on
Expand Down
1 change: 0 additions & 1 deletion test/config_loading/moo.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
DBM_DATABASE_TYPE = "moodb"
DBM_DATABASE = "mooconn"
DBM_MIGRATION_STORE = "moostore"
DBM_LINEAR_MIGRATIONS = on

0 comments on commit 4a61aa3

Please sign in to comment.