diff --git a/test/cases/coerced_tests.rb b/test/cases/coerced_tests.rb index 4e18c5f92..21d419c9b 100644 --- a/test/cases/coerced_tests.rb +++ b/test/cases/coerced_tests.rb @@ -1267,6 +1267,9 @@ def test_update_coerced assert_not_predicate topic, :approved? assert_equal "The First Topic", topic.title end + + # In SQL Server it's not possible to set the primary key column using a trigger and to get it then to return. + coerce_tests! :test_model_with_no_auto_populated_fields_still_returns_primary_key_after_insert end require "models/author"