-
Notifications
You must be signed in to change notification settings - Fork 26
Include term meta in export file #114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
|
I have added a scenario and 2 tests. |
|
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} |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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-"/> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
|
PR looks good, but a few unrelated changes should be stripped from this. |
Fixes in #42