Commit 4ff3713
committed
Fixed specific type of
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.NotFoundResult in unit test1 parent 7a7b72e commit 4ff3713
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments