I have an Admin Controller with a create method. I want to make an end2end test with bad and good parameters. I don't want to make a public API for it... This Controller return a redirect method to an another page. I cant use $this->see()
How can I test it?
I try with Auth::(login)
, $this->be($user)
, but always got a 302.
Aucun commentaire:
Enregistrer un commentaire