Skip to content

Commit 2cd99a8

Browse files
authored
Apply suggestions from code review
Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
1 parent 071fc73 commit 2cd99a8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

features/media-prune.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)