Skip to content

Integration tests use two deprecated Postman API calls  #480

@simon-20

Description

@simon-20

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions