Skip to content

Commit

Permalink
Use correct CLI for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
noahtallen committed May 12, 2020
1 parent 362b230 commit 70d9b5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ install:
fi
- |
if [[ "$E2E_ROLE" = "author" ]]; then
npm run wp-env run "wp user create author [email protected] --role=author --user_pass=authpass"
npm run wp-env run "wp post update 1 --post_author=2"
npm run wp-env run tests-cli "wp user create author [email protected] --role=author --user_pass=authpass"
npm run wp-env run tests-cli "wp post update 1 --post_author=2"
fi
jobs:
Expand Down

0 comments on commit 70d9b5a

Please sign in to comment.