mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Reset migration version before testing migration
https://buildkite.com/rails/rails/builds/61695#373bb1a7-677f-49ec-95e7-a92467fefd60/1076-1084
This commit is contained in:
parent
4f7d32311e
commit
e9e7e7d3fd
1 changed files with 2 additions and 0 deletions
|
@ -285,6 +285,7 @@ class PostgresqlUUIDGenerationTest < ActiveRecord::PostgreSQLTestCase
|
|||
|
||||
uses_transaction \
|
||||
def test_schema_dumper_for_uuid_primary_key_default_in_legacy_migration
|
||||
ActiveRecord::SchemaMigration.delete_all
|
||||
@verbose_was = ActiveRecord::Migration.verbose
|
||||
ActiveRecord::Migration.verbose = false
|
||||
|
||||
|
@ -334,6 +335,7 @@ class PostgresqlUUIDTestNilDefault < ActiveRecord::PostgreSQLTestCase
|
|||
|
||||
uses_transaction \
|
||||
def test_schema_dumper_for_uuid_primary_key_with_default_nil_in_legacy_migration
|
||||
ActiveRecord::SchemaMigration.delete_all
|
||||
@verbose_was = ActiveRecord::Migration.verbose
|
||||
ActiveRecord::Migration.verbose = false
|
||||
|
||||
|
|
Loading…
Reference in a new issue