Skip to content

Conversation

@Krishanthaudayakumara
Copy link
Collaborator

  • Convert DateTagHelper unit tests to use InlineData pattern with multiple cultures (en-US, da-DK, uk-UA)
  • Update integration tests to expect culture-aware date formatting instead of hardcoded US format
  • Fix test failures when running with Danish (da-dk) culture where date separator changes from "/" to "-"
  • Replace var declarations with explicit types in modified test methods
  • Add System.Globalization using statements where needed

Files modified,

  • DateTagHelperFixture.cs: Convert to multi-culture InlineData tests
  • DateFieldTagHelperFixture.cs: Use CurrentCulture for date expectations
  • AllFieldTagHelpersFixture.cs: Use CurrentCulture for date assertions
  • RichTextFieldTagHelperFixture.cs: Handle culture-specific date formatting
  • ViewFieldsBindingFixture.cs: Update date format expectations

…- Convert DateTagHelper unit tests to use InlineData pattern with multiple cultures
@Krishanthaudayakumara
Copy link
Collaborator Author

Apologies for the confusion. I intended to open this PR within my fork, but mistakenly submitted it to the main repository. Please disregard this request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant