diff --git a/test/leaky_bucket_test.rb b/test/leaky_bucket_test.rb index bcb8604..e3aaaa6 100644 --- a/test/leaky_bucket_test.rb +++ b/test/leaky_bucket_test.rb @@ -3,6 +3,7 @@ class LeakyBucketTest < ActiveSupport::TestCase setup do seed_db_name = Random.new(Minitest.seed).hex(4) + ActiveRecord::Migration.verbose = false ActiveRecord::Base.establish_connection(adapter: 'postgresql', database: 'postgres') ActiveRecord::Base.connection.create_database('pecorino_tests_%s' % seed_db_name, charset: :unicode) ActiveRecord::Base.connection.close diff --git a/test/throttle_test.rb b/test/throttle_test.rb index 166c43e..ab6bbe3 100644 --- a/test/throttle_test.rb +++ b/test/throttle_test.rb @@ -10,6 +10,7 @@ def random_leaky_bucket_name(random: Random.new) setup do seed_db_name = Random.new(Minitest.seed).hex(4) + ActiveRecord::Migration.verbose = false ActiveRecord::Base.establish_connection(adapter: 'postgresql', database: 'postgres') ActiveRecord::Base.connection.create_database('pecorino_tests_%s' % seed_db_name, charset: :unicode) ActiveRecord::Base.connection.close