Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught committed Apr 13, 2023
1 parent 7f4744c commit 527cce8
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions test/integration/users-test-cases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,27 @@ tests:
- "Open the following URL in a browser: https://manage.auth0.com/dashboard/"

016 - users import:
command: auth0 users import -c "Username-Password-Authentication" --users "[]" -r=false --no-input
command: auth0 users import -c "Username-Password-Authentication" --users "[]" --email-results=false --no-input
exit-code: 0
stdout:
contains:
- "[]"
stderr:
contains:
- "starting user import job..."
- "started user import job..."
- "Job with ID"
- "successfully started"
- "to get the status of the job"

017 - users import with piped data:
command: echo "[]" | auth0 users import -c "Username-Password-Authentication" -r=false --no-input
command: echo "[]" | auth0 users import -c "Username-Password-Authentication" --email-results=false --no-input
exit-code: 0
stdout:
contains:
- "[]"
stderr:
contains:
- "starting user import job..."
- "started user import job..."
- "Job with ID"
- "successfully started"
- "to get the status of the job"

0 comments on commit 527cce8

Please sign in to comment.