actingAs
Also written: Sanctum::actingAs
A test method that sends the next requests as a given logged-in user. Sanctum::actingAs does the same for API routes with a token.
Also written: Sanctum::actingAs
A test method that sends the next requests as a given logged-in user. Sanctum::actingAs does the same for API routes with a token.