jeudi 29 septembre 2016

CakePhp Tests and Cookies

I just started working at a company. There is a bunch of controller tests in the app/Test/Case/Controller folder that get launched whenever we commit files. The problem is that there are cookies created that cause the tests to fail. Is there some way that I destroy all cookies and session variables before tests get run?

Aucun commentaire:

Enregistrer un commentaire