@@ -263,12 +263,12 @@ Feature: Manage user custom fields
263
263
When I try the previous command again
264
264
Then the return code should be 1
265
265
266
- Given I run `wp user application-password create {USER_ID} someapp --porcelain`
266
+ When I run `wp user application-password create {USER_ID} someapp --porcelain`
267
267
And save STDOUT as {PASSWORD}
268
268
And I run `wp user application-password list {USER_ID} --name=someapp --field=uuid`
269
269
And save STDOUT as {UUID}
270
270
271
- Given I run `wp user application-password get {USER_ID} {UUID} --field=password | sed 's/\$ /\\\$ /g' `
271
+ When I run `wp user application-password get {USER_ID} {UUID} --field=password | sed 's/\$ /\\\$ /g' `
272
272
And save STDOUT as {HASH}
273
273
274
274
When I run `wp eval "var_export( wp_check_password( '{PASSWORD}', '{HASH}', {USER_ID} ) );" `
@@ -288,12 +288,12 @@ Feature: Manage user custom fields
288
288
When I try the previous command again
289
289
Then the return code should be 1
290
290
291
- Given I run `wp user application-password create {USER_ID} someapp --porcelain`
291
+ When I run `wp user application-password create {USER_ID} someapp --porcelain`
292
292
And save STDOUT as {PASSWORD}
293
293
And I run `wp user application-password list {USER_ID} --name=someapp --field=uuid`
294
294
And save STDOUT as {UUID}
295
295
296
- Given I run `wp user application-password get {USER_ID} {UUID} --field=password | sed 's/\$ /\\\$ /g' `
296
+ When I run `wp user application-password get {USER_ID} {UUID} --field=password | sed 's/\$ /\\\$ /g' `
297
297
And save STDOUT as {HASH}
298
298
299
299
When I run `wp eval "var_export( wp_verify_fast_hash( '{PASSWORD}', '{HASH}', {USER_ID} ) );" `
0 commit comments