Skip to content

Commit

Permalink
Remove unused parts of the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszgorniak committed Sep 29, 2024
1 parent f8c9354 commit 0f41923
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions test/lib/deploy_pin/task_set_timeout_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ def timeout_exception_klass
ActiveRecord::QueryCanceled if pg?
end

def clear_db
DeployPin::Record.delete_all
end

DeployPin::Database::DB_ENGINES_MAPPING.each_key do |engine|
define_method "#{engine}?" do
ENV['DB_ROLE'] == engine.to_s
Expand Down
4 changes: 0 additions & 4 deletions test/lib/deploy_pin/test_with_parallel_wrapper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ def timeout_exception_klass
ActiveRecord::QueryCanceled if pg?
end

def clear_db
DeployPin::Record.delete_all
end

DeployPin::Database::DB_ENGINES_MAPPING.each_key do |engine|
define_method "#{engine}?" do
ENV['DB_ROLE'] == engine.to_s
Expand Down

0 comments on commit 0f41923

Please sign in to comment.