fluentassertions.aspnetcore.mvc icon indicating copy to clipboard operation
fluentassertions.aspnetcore.mvc copied to clipboard

Better support for `ActionResult<T>`

Open cremor opened this issue 2 years ago • 1 comments

Continuation of #21

Instead of having to write

ActionResult<TestDto> result = await _controller.GetTestItemAsync(id);
result.Result.Should().BeNotFoundResult();

I'd like to write

ActionResult<TestDto> result = await _controller.GetTestItemAsync(id);
result.Should().BeNotFoundResult();

cremor avatar Aug 08 '23 10:08 cremor

I never got the admin privilege on the nuget package. Also, I didn't use this for a long time. I'm afraid this project died.

faddiv avatar Aug 11 '23 14:08 faddiv