Skip to content

Commit

Permalink
Merge pull request #95 from sugarcrm/issue-94
Browse files Browse the repository at this point in the history
Fixes #94: Update the --no-color flag for Postman tests
  • Loading branch information
mmarum-sugarcrm authored Aug 7, 2018
2 parents 068b76f + 5063554 commit 2e8757f
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 2e8757f

Please sign in to comment.