How to write a test for YII2?

there are actionBooks which receives POST'om data about the book

You need to write a test that will verify that you enrolled the book in the database and return a response if not.

I have already deployed codeception via composer, interested in the code, can someone have specific code examples of tests of information very little of the website it is not clear how that works.
July 9th 19 at 10:05
1 answer
July 9th 19 at 10:07
Specific code examples of the tests given in sample times and two.

So there is a good video about it (watch at 2x speed).

Find more questions by tags CodeceptionPHPPHPUnit