Skip to content

Commit

Permalink
Merge branch 'master' into issue-92
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarum-sugarcrm authored Aug 7, 2018
2 parents 7f52057 + 2e8757f commit 5acefdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/RunPostmanTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fi
######################################################################

# Run the tests that work with all editions of Sugar
docker run -v $dataDirectoryPath:/etc/newman --net="host" -t postman/newman_ubuntu1404 run "ProfessorM_PostmanCollection.json" --environment="ProfessorM_PostmanEnvironment.json" --no-color
docker run -v $dataDirectoryPath:/etc/newman --net="host" -t postman/newman_ubuntu1404 run "ProfessorM_PostmanCollection.json" --environment="ProfessorM_PostmanEnvironment.json" --color off

# If the tests return 1, at least one of the tests failed, so we will exit the script with error code 1.
if [[ $? -eq 1 ]]
Expand All @@ -92,7 +92,7 @@ fi
# Run the Advanced Workflow tests, which only work with Ent and Ult
if [[ "$sugarEdition" == "Ent" || "$sugarEdition" == "Ult" ]]
then
docker run -v $dataDirectoryPath:/etc/newman --net="host" -t postman/newman_ubuntu1404 run "ProfessorM_PostmanCollection_AdvancedWorkflow.json" --environment="ProfessorM_PostmanEnvironment.json" --no-color
docker run -v $dataDirectoryPath:/etc/newman --net="host" -t postman/newman_ubuntu1404 run "ProfessorM_PostmanCollection_AdvancedWorkflow.json" --environment="ProfessorM_PostmanEnvironment.json" --color off

if [[ $? -eq 1 ]]
then
Expand Down

0 comments on commit 5acefdb

Please sign in to comment.