You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use alternative theme for testing as P2 theme has been retired #200
changed the title [-]Use alternative theme for testing as `p2` theme has been retired[/-][+]Use alternative theme for testing as `P2` theme has been retired[/+]on Apr 17, 2024
@tfirdaus Since we have already used TwentyTwelve in several tests, may be it would be good replacement. I have updated feature test in widget command here. wp-cli/widget-command#61
005 Scenario: Attempting to delete a theme that doesn't exist # features/theme-delete.feature:110
And I run `wp theme install twentytwelve` # features/theme-delete.feature:5
$ wp theme install twentytwelve
Success: Theme already installed.
What would be the better approach here:
Should I pick other theme just for this case?
Or, should we find an alternative that might work for all theme install scenario in the feature tests?
Activity
[-]Use alternative theme for testing as `p2` theme has been retired[/-][+]Use alternative theme for testing as `P2` theme has been retired[/+]tfirdaus commentedon Apr 17, 2024
@ernilambar the
defaulttheme could be a good replacement in this case :). I think it's been one of the most iconic theme in WordPress.ernilambar commentedon Apr 17, 2024
@tfirdaus Since we have already used TwentyTwelve in several tests, may be it would be good replacement. I have updated feature test in
widgetcommand here. wp-cli/widget-command#61tfirdaus commentedon Apr 17, 2024
@ernilambar I have it updated in the
extensioncommand wp-cli/extension-command#417tfirdaus commentedon Apr 17, 2024
@ernilambar I got a problem in wp-cli/extension-command#417 though, where it says the theme is already installed.
What would be the better approach here:
ernilambar commentedon Apr 26, 2024
Done