Skip to content

Commit 3ea2c2c

Browse files
committed
remove all comments before test
1 parent 9dd7d2b commit 3ea2c2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/comment.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ Feature: Manage WordPress comments
161161
"""
162162

163163
Scenario: Approving/unapproving comments with multidigit comment ID
164-
Given I run `wp comment generate --count=10 --quiet`
164+
Given I run `wp comment delete $(wp comment list --field=ID)`
165+
And I run `wp comment generate --count=10 --quiet`
165166
And I run `wp comment create --porcelain`
166167
And save STDOUT as {COMMENT_ID}
167168

0 commit comments

Comments
 (0)