Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions BREAKING_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# Version 3.0.0

## ShouldRedirectTo Method

It used to be the case that when you invoked `ShouldRedirectTo<TController>` where `TController` is the same type as the `Controller` under test like this:

var sut = new HomeController();
sut.WithCallTo(c => c.Index())
.ShouldRedirectTo<HomeController>(c => c.Index());

an `ActionResultAssertionException` would be thrown.

An exception is no longer thrown.

### Reason

There is no reason why a test like this one should fail.

You can read the original problem specification and discussion [here](https://github.com/TestStack/TestStack.FluentMVCTesting/issues/47).


### Fix

If your project has been impacted by this particular breaking change, you might consider reevaluate the correctness of the affected tests.

# Version 2.0.0

## ShouldRenderFileStream Method
Expand Down
2 changes: 1 addition & 1 deletion NextVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.0
3.0.0