TomDoesTech / REST-API-Tutorial-Updated

https://www.youtube.com/watch?v=BWUi6BS9T5Y
574 stars 283 forks source link

Update postman collection to be compatible with new scripts system #24

Open CoffMakesThings opened 4 months ago

CoffMakesThings commented 4 months ago

Hi!

Since the postman collection was exported, the "tests" system has been moved into the "scripts" system and the syntax for tests has changed. Because of that, the tests in the Postman collection of this repo are no longer compatible with the current version of Postman. When each endpoint is executed, the collection variables do not populate.

This PR updates the tests so that they work as expected, successfully setting the variables.

image