jeudi 26 mars 2020

Laravel actingAs guest

Laravel provides a way to authenticate a given user during HTTP testing with

$this->actingAs($user);

Is there a way to unauthenticate that $user within the same test?

Aucun commentaire:

Enregistrer un commentaire