Skip to content

Commit

Permalink
Unset logger once test is complete.
Browse files Browse the repository at this point in the history
Closes #184.
  • Loading branch information
AlekSi committed Dec 10, 2018
1 parent 5327946 commit de4e9c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ func (s *ReformSuite) TearDownTest() {
}

checkForeignKeys(s.T(), DB.Querier)

DB.Logger = nil
}

func (s *ReformSuite) RestartTransaction() {
Expand Down

0 comments on commit de4e9c0

Please sign in to comment.