-
Notifications
You must be signed in to change notification settings - Fork 87
Update the theme in feature tests #417
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
Conversation
|
In then we need not have to update much of code. This way we only need to replace theme slug in |
|
I tried using the
@ernilambar @swissspidy Thought on this. Do you think this is the preferable approach? |
|
I think you added |
features/theme-delete.feature
Outdated
| And I run `wp theme install twentytwelve` | ||
|
|
||
| Scenario: Delete an installed theme | ||
| When I run `wp theme delete p2` |
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.
| When I run `wp theme delete p2` | |
| When I run `wp theme delete twentytwelve` |
Because we're now installing twentytwelve in Background
|
There are still a lot of tests referencing |
|
@ernilambar this error is a bit weird to me. Somehow it does not happen when I run this test in local. What do you think I did wrong here? It seems there are slight differences between the environment that missed in my local. If I did not run |
|
Thanks @ernilambar for your help on this PR 👏 |

This Pull Request updates the theme to install in the feature tests from
p2totwentytwelvesince thep2has been removed from WP.org repository.Reference
P2theme has been retired wp-cli-tests#200