Closed hamidhaghdoost closed 8 months ago
Thanks @tuytoosh !
Go ahead with refactoring. I will accept this.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
cc051f5
) to head (4bf5622
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi @robsontenorio
Could you please check if it is fine?
Thank you !
As mentioned in #96, in cases where we have a user in our database, we can use Laravel's built-in actingAs method to act as a user for authentication. However, most of the time, our users are stored in Keycloak, so we just need a way to bypass the middleware.
This MR adds this feature to the package. There are some duplicated codes in test files and the trait that should be refactored. If the MR is acceptable, I can refactor it a bit.