Update the theme in feature tests#417
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.
| 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