Skip to content

Add test coverage for wp_date.#2643

Closed
costdev wants to merge 7 commits intoWordPress:trunkfrom
costdev:wp_date_unit_tests
Closed

Add test coverage for wp_date.#2643
costdev wants to merge 7 commits intoWordPress:trunkfrom
costdev:wp_date_unit_tests

Conversation

@costdev
Copy link
Copy Markdown
Contributor

@costdev costdev commented Apr 29, 2022

@costdev costdev marked this pull request as ready for review April 29, 2022 06:02
Copy link
Copy Markdown
Contributor

@peterwilsoncc peterwilsoncc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a note inline, remind me about this after RC1 as tests can be committed at any time.

Comment thread tests/phpunit/tests/date/wpDate.php Outdated
@hellofromtonya hellofromtonya self-requested a review May 2, 2022 14:53
@costdev costdev force-pushed the wp_date_unit_tests branch from a6f80f9 to f19a71b Compare July 28, 2022 22:47
Copy link
Copy Markdown
Contributor

@peterwilsoncc peterwilsoncc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

I've got a note inline about some unneeded saving of data/incorrect if it is required.

Is it possible for the test suite to run in an unexpected timezone and mess up the expectations here (for example an Aussie timezone woulld switch am to pm, etc). If possible, then it is probably worth setting the timezone for the tests.

Comment thread tests/phpunit/tests/date/wpDate.php Outdated
@peterwilsoncc
Copy link
Copy Markdown
Contributor

@costdev To ask the silly question rather than assume: is this intended to replace #1415?

@costdev
Copy link
Copy Markdown
Contributor Author

costdev commented Aug 1, 2022

@costdev To ask the silly question rather than assume: is this intended to replace #1415?

That's right, this PR updates #1415.

@peterwilsoncc
Copy link
Copy Markdown
Contributor

@costdev costdev deleted the wp_date_unit_tests branch September 19, 2022 21:12
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