Skip to content

Commit 8767148

Browse files
authored
Tests: Do not use deprecated plugin status command (#391)
1 parent 4c7a03e commit 8767148

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎features/scaffold.feature‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,18 +353,18 @@ Feature: WordPress code scaffolding
353353
And the wp-content/plugins/hello-world/readme.txt file should exist
354354
And the wp-content/plugins/hello-world/tests directory should exist
355355
356-
When I run `wp plugin status hello-world`
356+
When I run `wp plugin get hello-world --fields=title,status,description`
357357
Then STDOUT should contain:
358358
"""
359-
Status: Active
359+
active
360360
"""
361361
And STDOUT should contain:
362362
"""
363-
Name: Hello World
363+
Hello World
364364
"""
365365
And STDOUT should contain:
366366
"""
367-
Description: An awesome introductory plugin for WordPress
367+
An awesome introductory plugin for WordPress
368368
"""
369369
370370
Scenario: Scaffold a plugin and activate it

0 commit comments

Comments
 (0)