Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests use two deprecated Postman API calls #480

Open
simon-20 opened this issue Nov 7, 2024 · 0 comments
Open

Integration tests use two deprecated Postman API calls #480

simon-20 opened this issue Nov 7, 2024 · 0 comments

Comments

@simon-20
Copy link
Contributor

simon-20 commented Nov 7, 2024

Brief Description
The integration tests make use of two Postman calls which have been deprecated. For all instances, see the output of a run of the tests, using the command:

npx newman run integration-tests/validator-services-tests.postman_collection.json -e integration-tests/envs/validator-services-direct-dev.postman_environment.json --working-dir integration-tests/test-files --env-var keyValue="DEV_FUNCTIONS_KEY_HERE"

But the two in question (with a few instances of each) are:

'Using "postman.setNextRequest" is deprecated. Use "pm.execution.setNextRequest()" instead.'
'Using "environment" is deprecated. Use "pm.environment" instead.'

Severity
Low

Steps to Reproduce
Get setup locally, including installing dev dependencies
Then run the above npx command. All instances where deprecated calls used will be printed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant