File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Feature: Prune WordPress attachment thumbnails
5858 And the wp-content/uploads/canola-150x150.jpg file should not exist
5959 And the wp-content/uploads/canola-300x225.jpg file should not exist
6060
61- And I run `wp post meta get {LARGE_ATTACHMENT_ID} _wp_attachment_metadata --format=json`
61+ When I run `wp post meta get {LARGE_ATTACHMENT_ID} _wp_attachment_metadata --format=json`
6262 Then STDOUT should not contain:
6363 """
6464 "thumbnail"
@@ -123,7 +123,7 @@ Feature: Prune WordPress attachment thumbnails
123123 """
124124 And the wp-content/uploads/large-image-200x200.jpg file should exist
125125
126- And I run `wp post meta get {LARGE_ATTACHMENT_ID} _wp_attachment_metadata --format=json`
126+ When I run `wp post meta get {LARGE_ATTACHMENT_ID} _wp_attachment_metadata --format=json`
127127 Then STDOUT should contain:
128128 """
129129 "abandoned_size"
@@ -160,7 +160,7 @@ Feature: Prune WordPress attachment thumbnails
160160 """
161161 And the wp-content/uploads/large-image-200x200.jpg file should not exist
162162
163- And I run `wp post meta get {LARGE_ATTACHMENT_ID} _wp_attachment_metadata --format=json`
163+ When I run `wp post meta get {LARGE_ATTACHMENT_ID} _wp_attachment_metadata --format=json`
164164 Then STDOUT should not contain:
165165 """
166166 "abandoned_size"
You can’t perform that action at this time.
0 commit comments