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
Copy file name to clipboardExpand all lines: TestStack.FluentMVCTesting.Tests/ControllerResultTestTests.cs
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -382,6 +382,19 @@ public void Check_for_file_content_result_and_check_invalid_content_type()
382
382
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected file to be of content type '{0}', but instead was given '{1}'.",contentType,ControllerResultTestController.FileContentType)));
@@ -457,6 +470,19 @@ public void Check_for_file_path_result_and_check_file_name_and_check_invalid_con
457
470
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected file to be of content type '{0}', but instead was given '{1}'.",contentType,ControllerResultTestController.FileContentType)));
thrownewActionResultAssertionException(string.Format("Expected file to be of content type '{0}', but instead was given '{1}'.",contentType,fileResult.ContentType));
thrownewActionResultAssertionException(string.Format("Expected file to be of content type '{0}', but instead was given '{1}'.",contentType,fileResult.ContentType));
thrownewActionResultAssertionException(string.Format("Expected file name to be '{0}', but instead was given '{1}'.",fileName,fileResult.FileName));
293
+
thrownewActionResultAssertionException(string.Format("Expected file to be of content type '{0}', but instead was given '{1}'.",contentType,fileResult.ContentType));
thrownewActionResultAssertionException(string.Format("Expected file to be of content type '{0}', but instead was given '{1}'.",contentType,fileResult.ContentType));
298
+
thrownewActionResultAssertionException(string.Format("Expected file name to be '{0}', but instead was given '{1}'.",fileName,fileResult.FileName));
0 commit comments