Skip to content

Commit

Permalink
Reduce logging in tests
Browse files Browse the repository at this point in the history
For now this is fine. Make this better later. Turns out it logs from
both the Gouda logger and the ActiveJob logger. Next step would be to
merge those. And we still have missing test assertions in the databse
setup methods. Something that is also not too pressing atm.
  • Loading branch information
svanhesteren committed Jun 12, 2024
1 parent d71b39a commit 3c52c12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/gouda/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def self.adapter
@adapter || Gouda::Adapter.new
@case_random = Random.new(Minitest.seed)
Gouda::Railtie.initializers.each(&:run)
ActiveJob::Base.logger = nil
Gouda.config.logger.level = 4
end

teardown do
Expand Down

0 comments on commit 3c52c12

Please sign in to comment.