Skip to content

Commit

Permalink
Add behat test for STDIN import
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarnasit committed Oct 19, 2019
1 parent 533c4ad commit 01473e4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions features/db-import.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ Feature: Import a WordPress database
Success: Imported from 'wp_cli_test.sql'.
"""

Scenario: Import from STDIN
Given a WP install

When I run `wp db import -`
Then STDOUT should be:
"""
Success: Imported from 'STDIN'.
"""

Scenario: Import from database name path by default and skip speed optimization
Given a WP install

Expand Down

0 comments on commit 01473e4

Please sign in to comment.