Skip to content

Commit

Permalink
[fixtures] Fix an ordering bug with migrations.
Browse files Browse the repository at this point in the history
  • Loading branch information
venantius committed Jun 13, 2016
1 parent 5e2de18 commit 404379a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clj/titan/test/fixtures.clj
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"Initializes the DB connection pool and runs any necessary migrations."
[test-ns]
(db/set-korma-db!)
(test-ns)
(migrations/migrate {:reporter migrations/silent-reporter}))
(migrations/migrate {:reporter migrations/silent-reporter})
(test-ns))

(defn- reset-on-finish
"After the test has finished running, fully roll back the database and re-run
Expand Down

0 comments on commit 404379a

Please sign in to comment.