Skip to content

Conversation

@Kerfred
Copy link

@Kerfred Kerfred commented Jun 13, 2024

Fixes in #42

@Kerfred Kerfred requested a review from a team as a code owner June 13, 2024 13:03
@codecov
Copy link

codecov bot commented Mar 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@Kerfred
Copy link
Author

Kerfred commented Jun 5, 2025

I have added a scenario and 2 tests.
All the tests are successful.

@Kerfred
Copy link
Author

Kerfred commented Jun 5, 2025

I have fixed the indentation.


When I run `wp export --post_type=page --post_status=draft`
And save STDOUT 'Writing to file %s' as {EXPORT_FILE}
Then save STDOUT 'Writing to file %s' as {EXPORT_FILE}
Copy link
Member

Choose a reason for hiding this comment

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

The Then ... steps normally denote assertion steps, but this is still setup. If we would want to be more correct with the Behat syntax here, we would not turn it into When...Then, but rather into Given... And to show that this is still setup, and not the act/assert part.

But given this is unrelated to the current PR, I would just avoid these changes for now to keep the PR more focused.

Copy link
Author

Choose a reason for hiding this comment

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

I have followed the examples in the previous tests in export.features.
Perhaps the similar rows must be changed as well.

<!-- For help understanding the `testVersion` configuration setting:
https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
<config name="testVersion" value="5.6-"/>
<config name="testVersion" value="7.2-"/>
Copy link
Member

Choose a reason for hiding this comment

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

Is this coming from a missing rebase or did You manually introduce this unrelated change?

Copy link
Author

Choose a reason for hiding this comment

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

It doesn't talk to me. I have not changed this.

Copy link
Member

Choose a reason for hiding this comment

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

This is a missing rebase: 976d08f

@schlessera
Copy link
Member

PR looks good, but a few unrelated changes should be stripped from this.

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.

5 participants