Closed gleidsonlm closed 1 year ago
Implement Mocks in End-to-End testing in order to make it easier to use the routes with the proper authentication and authorization.
Instead of mocking the authorization, tests were completed by overriding the guards as described at https://docs.nestjs.com/fundamentals/testing#overriding-globally-registered-enhancers.
Implement Mocks in End-to-End testing in order to make it easier to use the routes with the proper authentication and authorization.