File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 808808fi
809809
810810echo " Testing command ´sfcc-ci sandbox:alias:add´:"
811- ALIAS_RESULT=` node ./cli.js sandbox:alias:add --sandbox $TEST_NEW_SANDBOX_ID -h my.newalias .com --json`
811+ ALIAS_RESULT=` node ./cli.js sandbox:alias:add --sandbox $TEST_NEW_SANDBOX_ID -h my.brandnewalias .com --json`
812812if [ $? -eq 0 ]; then
813813 echo -e " \t> OK"
814814else
@@ -854,18 +854,19 @@ else
854854 exit 1
855855fi
856856
857- echo " Testing command ´sfcc-ci sandbox:alias:add´ with request for letsencrypt:"
858- ALIAS_RESULT= ` node ./cli.js sandbox:alias:add --sandbox $TEST_NEW_SANDBOX_ID -h my.newalias .com --unique -- request-letsencrypt-certificate --json`
859- if [ $? -eq 0 ]; then
857+ echo " Testing command ´sfcc-ci sandbox:alias:add´ with request for letsencrypt and unique as false (should fail) :"
858+ node ./cli.js sandbox:alias:add --sandbox $TEST_NEW_SANDBOX_ID -h my.newaliasunique .com --request-letsencrypt-certificate --json
859+ if [ $? -eq 1 ]; then
860860 echo -e " \t> OK"
861861else
862862 echo -e " \t> FAILED"
863863 exit 1
864864fi
865865
866- echo " Testing command ´sfcc-ci sandbox:alias:add´ with request for letsencrypt and unique as false ( should fail ) :"
867- ALIAS_RESULT=` node ./cli.js sandbox:alias:add --sandbox $TEST_NEW_SANDBOX_ID -h my.newalias.com --request-letsencrypt-certificate --json`
868- if [ $? -eq 1 ]; then
866+ # Note: This test creates a unique alias. Running the same test suite again before the sandbox and/or the alias have been deleted will fail.
867+ echo " Testing command ´sfcc-ci sandbox:alias:add´ with request for letsencrypt:"
868+ ALIAS_RESULT=` node ./cli.js sandbox:alias:add --sandbox $TEST_NEW_SANDBOX_ID -h my.newaliasunique.com --unique --request-letsencrypt-certificate --json`
869+ if [ $? -eq 0 ]; then
869870 echo -e " \t> OK"
870871else
871872 echo -e " \t> FAILED"
You can’t perform that action at this time.
0 commit comments