mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-20 06:30:56 +08:00
Fix test setup for assertion
This commit is contained in:
parent
ee16b7982a
commit
6e685729a6
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ Feature: Basic profile usage
|
|||
Scenario: Trailingslash provided URL to avoid canonical redirect
|
||||
Given a WP install
|
||||
|
||||
When I run `wp profile hook setup_theme --url=example.com`
|
||||
When I run `wp profile hook setup_theme --url=example.com --fields=callback,time`
|
||||
Then STDERR should be empty
|
||||
And STDOUT should be a table containing rows:
|
||||
| callback | time |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue