Skip to content

Commit

Permalink
Coerce test (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanharan authored Sep 30, 2024
1 parent 7b66df0 commit e3aba95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/cases/coerced_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,9 @@ def test_distinct_count_all_with_custom_select_and_order_coerced

# SELECT columns must be in the GROUP clause. Since since `ids` only selects the primary key you cannot perform this query in SQL Server.
coerce_tests! :test_ids_with_includes_and_non_primary_key_order

# To limit the results in SQL Server we use `FETCH NEXT @0 ROWS ONLY` instead of `LIMIT @0`. To use `FETCH NEXT` an order must be provided.
coerce_tests! :test_no_order_by_when_counting_all
end

module ActiveRecord
Expand Down

0 comments on commit e3aba95

Please sign in to comment.