renatounai
renatounai
I'm having a really weird inssue where my auth class is not being called at all during unity tests, but it works if I run my app normally and call...
I've ended up just disabling auth in tests ```python auth = None if settings.TESTING else AuthBearer() api = NinjaAPI(auth=auth) ``` Not the best solution, but it will have to do...
Turns out the authenticate method is only called if the Authorization header is present in the request. See the code of the HttpBearer class: ```python class HttpBearer(HttpAuthBase, ABC): openapi_scheme: str...
Same issue here. It seems that the kotlin support is still not production ready in quarkus. In the repository pattern is also impossible to mock the PanacheEntity methods today, so...