跳转到主要内容

Then /^an email should (be sent|not be sent)$/

Expect an email to be sent (or not).


Usage

Scenario: My example scenario
  When I run `wp user reset-password 1`
  Then an email should be sent

Behat steps documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.