Skip to content

Add unit tests for ticket #58392#4580

Closed
Hug0-Drelon wants to merge 3 commits intoWordPress:trunkfrom
Hug0-Drelon:test-58392
Closed

Add unit tests for ticket #58392#4580
Hug0-Drelon wants to merge 3 commits intoWordPress:trunkfrom
Hug0-Drelon:test-58392

Conversation

@Hug0-Drelon
Copy link
Copy Markdown

Trac ticket: https://core.trac.wordpress.org/ticket/58392

This PR adds unit tests to the previously proposed diff.

Copy link
Copy Markdown
Contributor

@audrasjb audrasjb left a comment

Choose a reason for hiding this comment

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

Everything looks good to me, except that we need a few docblocks in the provided unit tests.
You can take wpPublishPost as an example.

@Hug0-Drelon
Copy link
Copy Markdown
Author

Hi @audrasjb and @costdev 👋
Thanks for the feedback!
I've split the test and added some docblocks as you suggested.

@Hug0-Drelon Hug0-Drelon requested review from audrasjb and costdev June 8, 2023 22:09
Copy link
Copy Markdown
Contributor

@costdev costdev left a comment

Choose a reason for hiding this comment

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

Thanks for the updates @Hug0-Drelon! I've left some more thoughts in this review 🙂

Co-authored-by: Colin Stewart <79332690+costdev@users.noreply.github.com>
@Hug0-Drelon
Copy link
Copy Markdown
Author

Thanks for the insight @costdev! Nice to see how standardization is going 🙂

@Hug0-Drelon Hug0-Drelon requested a review from costdev June 11, 2023 13:44
Copy link
Copy Markdown
Contributor

@costdev costdev left a comment

Choose a reason for hiding this comment

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

Thanks for the updates @Hug0-Drelon! I think that's all from me on this one!

Copy link
Copy Markdown
Contributor

@audrasjb audrasjb left a comment

Choose a reason for hiding this comment

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

Thanks for the update!

@audrasjb
Copy link
Copy Markdown
Contributor

@audrasjb audrasjb closed this Jun 26, 2023
@Hug0-Drelon Hug0-Drelon deleted the test-58392 branch June 27, 2023 07:22
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