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
Describe your issue
RestrictingForAuthorizedRequests() does not work if [Authorize] attribute is of the whole controller
Additional context
This is the error message:
When calling RandomAction action in RandomController expected action to have at least 1 attribute, but in fact none was found.
I'm not sure if this is a real bug or I'm making something wrong, but when I positioned attribute over action the test passed.
The text was updated successfully, but these errors were encountered:
Describe your issue
RestrictingForAuthorizedRequests() does not work if [Authorize] attribute is of the whole controller
Additional context
This is the error message:
When calling RandomAction action in RandomController expected action to have at least 1 attribute, but in fact none was found.
I'm not sure if this is a real bug or I'm making something wrong, but when I positioned attribute over action the test passed.
The text was updated successfully, but these errors were encountered: