Dear all,
I’m using yii to create an interface that will access an API by restful.
I did some tests and the communication between the interace and API worked fine.
So, I have the normal MVC, but the Model instead of save in a Database, it calls the API.
So, how can I wirte a unit test it using fixtures??
According to the documentation "Each fixture file returns an array representing the initial rows of data for a particular table. The file name is the same as the table name."
But I don’t have tables in my app…
Any suggestion about how it works in this case?
Thank you very much