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
Fixed specific type of NotFoundResult in unit test
When content is included in the `NotFound` result, the `Controller` class returns a `NotFoundObjectResult`. When no content is included, however, it returns a `NotFoundResult`. As such, when I upaded the `[ValidateTopic]` action filter to return `NotFound()` without a specific error message (ab71a69), I also needed to update the `ValidateTopicAttributeTest` to correctly expect the `NotFoundResult` instead of the `NotFoundObjectResult`. Whoops.
0 commit comments