vendredi 25 décembre 2020

Difference between Laravel testing method assertRedirect($uri) and assertLocation($uri)?

I was reading Laravel document HTTP tests and a question occurred. I can't tell the difference between assertLocation($uri) and assertRedirect($uri), since both are for redirecting to specific uri.

Anyone could help would be so much appreciated.

Aucun commentaire:

Enregistrer un commentaire