Skip to content

Commit

Permalink
add missing --noprompt to sandbox:delete CLI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiaslohr committed Apr 10, 2019
1 parent 078cb3d commit 0024722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/test-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ else
fi

echo "Testing command ´sfcc-ci sandbox:delete --sandbox <INVALID_ID> --noprompt´ (expected to fail):"
node ./cli.js sandbox:delete --sandbox INVALID_ID
node ./cli.js sandbox:delete --sandbox INVALID_ID --noprompt
if [ $? -eq 1 ]; then
echo -e "\t> OK"
else
Expand All @@ -757,7 +757,7 @@ else
fi

echo "Testing command ´sfcc-ci sandbox:delete --sandbox <sandbox> --noprompt´:"
node ./cli.js sandbox:delete --sandbox $TEST_NEW_SANDBOX_ID
node ./cli.js sandbox:delete --sandbox $TEST_NEW_SANDBOX_ID --noprompt
if [ $? -eq 0 ]; then
echo -e "\t> OK"
else
Expand Down

0 comments on commit 0024722

Please sign in to comment.