You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code a sample view which uses permissions derived from BaseProblemPermission class and throws a registered exception. Write tests with this view to test the following behaviors:
When the permission passes, content type is "application/json".
When the permission fails, content type is "application/problem+json" and the problem code is the same as the one declared in the registered exception with the permission.
The text was updated successfully, but these errors were encountered:
Code a sample view which uses permissions derived from BaseProblemPermission class and throws a registered exception. Write tests with this view to test the following behaviors:
The text was updated successfully, but these errors were encountered: