Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/plugin-uninstall.feature
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Feature: Uninstall a WordPress plugin
Scenario: Uninstalling a plugin should remove its language pack
Given a WP install
And I run `wp plugin install wordpress-importer`
And I run `wp core language install fr_FR`
And I run `wp language core install fr_FR`
And I run `wp site switch-language fr_FR`

When I run `wp language plugin install wordpress-importer fr_FR`
Expand Down
4 changes: 2 additions & 2 deletions features/plugin.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Feature: Manage WordPress plugins
And I run `wp plugin path`
And save STDOUT as {PLUGIN_DIR}

When I run `wp plugin scaffold --skip-tests plugin1`
When I run `wp scaffold plugin --skip-tests plugin1`
Then STDOUT should not be empty
And the {PLUGIN_DIR}/plugin1/plugin1.php file should exist
And the {PLUGIN_DIR}/zombieland/phpunit.xml.dist file should not exist
Expand All @@ -22,7 +22,7 @@ Feature: Manage WordPress plugins
{PLUGIN_DIR}/plugin1
"""

When I run `wp plugin scaffold Zombieland`
When I run `wp scaffold plugin Zombieland`
Then STDOUT should not be empty
And the {PLUGIN_DIR}/Zombieland/Zombieland.php file should exist
And the {PLUGIN_DIR}/Zombieland/phpunit.xml.dist file should exist
Expand Down
6 changes: 3 additions & 3 deletions features/theme.feature
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ Feature: Manage WordPress themes
"""

# Hybrid_Registry throws warning for PHP 8+.
When I try `wp network-meta get 1 allowedthemes`
When I try `wp network meta get 1 allowedthemes`
Then STDOUT should not contain:
"""
'moina-blog' => true
Expand All @@ -373,7 +373,7 @@ Feature: Manage WordPress themes
"""

# Hybrid_Registry throws warning for PHP 8+.
When I try `wp network-meta get 1 allowedthemes`
When I try `wp network meta get 1 allowedthemes`
Then STDOUT should contain:
"""
'moina-blog' => true
Expand All @@ -387,7 +387,7 @@ Feature: Manage WordPress themes
"""

# Hybrid_Registry throws warning for PHP 8+.
When I try `wp network-meta get 1 allowedthemes`
When I try `wp network meta get 1 allowedthemes`
Then STDOUT should not contain:
"""
'moina-blog' => true
Expand Down
Loading