efcore: Tests failing because of different locales

Follow-up from #14889. The failing tests on Czech locale are these.

DTO_complex_distinct_orderby(isAsync: False)
DTO_complex_distinct_orderby(isAsync: True)
DTO_complex_orderby(isAsync: False)
DTO_complex_orderby(isAsync: True)
OrderBy_Join(isAsync: True)
OrderBy_Join(isAsync: False)
OrderBy_Take_Last_gives_correct_result(isAsync: False)
OrderBy_Take_Last_gives_correct_result(isAsync: True)
OrderBy_Dto_projection_skip_take(isAsync: True)
OrderBy_Dto_projection_skip_take(isAsync: False)
DTO_member_distinct_orderby(isAsync: False)
DTO_member_distinct_orderby(isAsync: True)

Signalled by @lauxjpn in #20640: BuiltInDataTypesTestBase.Object_to_string_conversion

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Comments: 19 (19 by maintainers)

Most upvoted comments

OK. Yeah, at least simple cases such as StartsWith without culture should be caught by the analyzer - but maybe it’s wiser to continue as we are, without setting globally.

Haven’t had time to run the SQL Server tests yet. But it’s on my list, don’t worry.