Skip to content

Commit

Permalink
[usage] Do not run tests with SQL debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
easyCZ authored and roboquat committed Jun 22, 2022
1 parent 4e74044 commit 2800756
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/usage/pkg/db/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ func ConnectForTests(t *testing.T) *gorm.DB {
})
require.NoError(t, err, "Failed to establish connection to DB. In a workspace, run `leeway build components/usage:init-testdb` once to bootstrap the DB.")

conn = conn.Debug()

t.Cleanup(func() {
// Delete records for known models from the DB
log.Info("Cleaning up DB between connections.")
Expand Down

0 comments on commit 2800756

Please sign in to comment.