mirror of
https://ghproxy.net/https://github.com/wp-cli/extension-command.git
synced 2025-10-04 01:25:43 +08:00
20 lines
401 B
Gherkin
20 lines
401 B
Gherkin
Feature: List the status of plugins
|
|
|
|
@require-wp-4.0
|
|
Scenario: Status should include drop-ins
|
|
Given a WP install
|
|
And a wp-content/db-error.php file:
|
|
"""
|
|
<?php
|
|
"""
|
|
|
|
When I run `wp plugin status`
|
|
Then STDOUT should contain:
|
|
"""
|
|
D db-error.php
|
|
"""
|
|
And STDOUT should contain:
|
|
"""
|
|
D = Drop-In
|
|
"""
|
|
And STDERR should be empty
|