vendredi 23 octobre 2015

Symfony2 Codeception Add Logged In User to Entity

I am using Codeception to test my Symfony app.
In my app when an article is created, the controller adds the logged in user entity to the article (Doctrine Many-to-one relationship).
How do I replicate this in a functional test to test adding an article (I am using cest test classes).

Aucun commentaire:

Enregistrer un commentaire