Skip to content

Commit 9e248f1

Browse files
committed
Update table rows
1 parent 99b9eda commit 9e248f1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

features/plugin-update.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Feature: Update WordPress plugins
1313

1414
When I run `wp plugin list`
1515
Then STDOUT should be a table containing rows:
16-
| name | status | update | version |
17-
| wordpress-importer | inactive | available | 0.5 |
16+
| name | status | update | version | auto_update |
17+
| wordpress-importer | inactive | available | 0.5 | off |
1818

1919
When I try `wp plugin update akismet --version=0.5.3`
2020
Then STDERR should be:

features/plugin.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Feature: Manage WordPress plugins
6363

6464
When I run `wp plugin list`
6565
Then STDOUT should be a table containing rows:
66-
| name | status | update | version |
67-
| Zombieland | active | none | 0.1.0 |
66+
| name | status | update | version | auto_update |
67+
| Zombieland | active | none | 0.1.0 | off |
6868

6969
When I try `wp plugin uninstall Zombieland`
7070
Then STDERR should be:
@@ -131,8 +131,8 @@ Feature: Manage WordPress plugins
131131

132132
When I run `wp plugin list`
133133
Then STDOUT should be a table containing rows:
134-
| name | status | update | version |
135-
| wordpress-importer | active | available | 0.5 |
134+
| name | status | update | version | auto_update |
135+
| wordpress-importer | active | available | 0.5 | off |
136136

137137
When I try `wp plugin update`
138138
Then STDERR should be:

features/upgradables.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ Feature: Manage WordPress themes and plugins
5353

5454
When I run `wp <type> list`
5555
Then STDOUT should be a table containing rows:
56-
| name | status | update | version |
57-
| <item> | inactive | available | <version> |
56+
| name | status | update | version | auto_update |
57+
| <item> | inactive | available | <version> | off |
5858

5959
When I run `wp <type> list --field=name`
6060
Then STDOUT should contain:
@@ -203,6 +203,6 @@ Feature: Manage WordPress themes and plugins
203203
And the return code should be 1
204204

205205
Examples:
206-
| type | type_name | item | item_title | version | zip_file | file_to_check |
206+
| type | type_name | item | item_title | version | zip_file | file_to_check |
207207
| theme | Theme | p2 | P2 | 1.0.1 | https://wordpress.org/themes/download/p2.1.0.1.zip | {CONTENT_DIR}/p2/style.css |
208208
| plugin | Plugin | category-checklist-tree | Category Checklist Tree | 1.2 | https://downloads.wordpress.org/plugin/category-checklist-tree.1.2.zip | {CONTENT_DIR}/category-checklist-tree/category-checklist-tree.php |

0 commit comments

Comments
 (0)