File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -2587,22 +2587,6 @@ def invalid_add_column_option_exception_message(key)
2587
2587
end
2588
2588
end
2589
2589
2590
- # SQL Server does not support upsert. Removed dependency on `insert_all` that uses upsert.
2591
- class ActiveRecord ::Encryption ::ConcurrencyTest < ActiveRecord ::EncryptionTestCase
2592
- undef_method :thread_encrypting_and_decrypting
2593
- def thread_encrypting_and_decrypting ( thread_label )
2594
- posts = 100 . times . collect { |index | EncryptedPost . create! title : "Article #{ index } (#{ thread_label } )" , body : "Body #{ index } (#{ thread_label } )" }
2595
-
2596
- Thread . new do
2597
- posts . each . with_index do |article , index |
2598
- assert_encrypted_attribute article , :title , "Article #{ index } (#{ thread_label } )"
2599
- article . decrypt
2600
- assert_not_encrypted_attribute article , :title , "Article #{ index } (#{ thread_label } )"
2601
- end
2602
- end
2603
- end
2604
- end
2605
-
2606
2590
# Need to use `install_unregistered_type_fallback` instead of `install_unregistered_type_error` so that message-pack
2607
2591
# can read and write `ActiveRecord::ConnectionAdapters::SQLServer::Type::Data` objects.
2608
2592
class ActiveRecordMessagePackTest < ActiveRecord ::TestCase
You can’t perform that action at this time.
0 commit comments