File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 11Feature : Manage user custom fields
22
3+ Scenario : User application passwords are disabled for WordPress lower than 5.6
4+ Given a WP install
5+ And I try `wp theme install twentytwenty --activate`
6+ And I run `wp core download --version=5.5 --force`
7+
8+ When I try `wp user application-password create 1 myapp`
9+ Then STDERR should contain:
10+ """
11+ Error: Requires WordPress 5.6 or greater.
12+ """
13+
14+ When I try `wp user application-password list 1`
15+ Then STDERR should contain:
16+ """
17+ Error: Requires WordPress 5.6 or greater.
18+ """
19+
20+ When I try `wp user application-password get 1 123`
21+ Then STDERR should contain:
22+ """
23+ Error: Requires WordPress 5.6 or greater.
24+ """
25+
26+ When I try `wp user application-password delete 1 123`
27+ Then STDERR should contain:
28+ """
29+ Error: Requires WordPress 5.6 or greater.
30+ """
31+
32+ @require-wp-5.6
333 Scenario : User application password CRUD
434 Given a WP install
535
@@ -96,6 +126,7 @@ Feature: Manage user custom fields
96126 0
97127 """
98128
129+ @require-wp-5.6
99130 Scenario : List user application passwords
100131 Given a WP install
101132
@@ -205,6 +236,7 @@ Feature: Manage user custom fields
205236 myapp2
206237 """
207238
239+ @require-wp-5.6
208240 Scenario : Get particular user application password hash
209241 Given a WP install
210242
You can’t perform that action at this time.
0 commit comments