We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34b866b commit 6316706Copy full SHA for 6316706
features/comment-meta.feature
@@ -56,3 +56,21 @@ Feature: Manage comment custom fields
56
"""
57
-- hi
58
59
+
60
+ Scenario: List comment meta
61
+ Given a WP install
62
63
+ When I run `wp comment meta add 1 apple banana`
64
+ And I run `wp comment meta add 1 apple banana`
65
+ Then STDOUT should not be empty
66
67
+ When I run `wp comment meta set 1 banana '["apple", "apple"]' --format=json`
68
69
70
+ When I run `wp comment meta list 1`
71
+ Then STDOUT should be a table containing rows:
72
+ | comment_id | meta_key | meta_value |
73
+ | 1 | apple | banana |
74
75
+ | 1 | banana | a:2:{i:0;s:5:"apple";i:1;s:5:"apple";} |
76
0 commit comments