Skip to content

Commit

Permalink
Commented out test
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanharan committed Sep 27, 2023
1 parent ed474fb commit 867dbc4
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions test/cases/coerced_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2153,14 +2153,15 @@ def test_where_in_binds_logging_include_attribute_names_coerced
end
end

class ActiveRecordSchemaTest < ActiveRecord::TestCase
# Workaround for randomly failing test.
coerce_tests! :test_has_primary_key
def test_has_primary_key_coerced
@schema_migration.reset_column_information
original_test_has_primary_key
end
end
# TODO: Method `reset_column_information` does not exist. Comment out the test for the time being.
# class ActiveRecordSchemaTest < ActiveRecord::TestCase
# # Workaround for randomly failing test.
# coerce_tests! :test_has_primary_key
# def test_has_primary_key_coerced
# @schema_migration.reset_column_information
# original_test_has_primary_key
# end
# end

class ReloadModelsTest < ActiveRecord::TestCase
# Skip test on Windows. The number of arguments passed to `IO.popen` in
Expand Down

0 comments on commit 867dbc4

Please sign in to comment.