Skip to content

Conversation

@MasterOdin
Copy link
Member

@MasterOdin MasterOdin commented May 25, 2025

While #2348 added support for Cake\I18n\Date and Cake\I18n\DateTime in inserts, we didn't add support for it when using the --dry-run flag, and so using the flag with those types would produce an exception (ame as the one shown in #2357).

This PR fixes that bug.

PR also reworks the tests added in #2358 to use data providers to reduce repetition. I also added a test case for Literal values which was missing.

@MasterOdin MasterOdin merged commit 524ebde into 0.x May 25, 2025
12 checks passed
@MasterOdin MasterOdin deleted the fix-date-dry-run branch May 25, 2025 16:07
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.

3 participants