I have used fixtures inside unit tests successfully but there is no info on how to use fixtures inside API testing. How to do it?
I have used fixtures inside unit tests successfully but there is no info on how to use fixtures inside API testing. How to do it?
Yes, I am using Codeception. When I am doing API Tests using Codeception, could not find any information on how to use (or how to load) fixtures inside API Tests. For example, in unit testing, it can be done like this (from documentation):
Should be the same if fixtures modue is enabled.
Thank you, after adding a fixture to the api.suite.yml file, it worked)