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
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected file to be of content type '{0}', but instead was given '{1}'.",contentType,ControllerResultTestController.FileContentType)));
318
337
}
319
338
320
339
[Test]
@@ -341,6 +360,17 @@ public void Check_for_file_stream_result_and_check_content_type()
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected file to be of content type '{0}', but instead was given '{1}'.",contentType,ControllerResultTestController.FileContentType)));
372
+
}
373
+
344
374
[Test]
345
375
publicvoidCheck_for_file_path_result()
346
376
{
@@ -353,11 +383,34 @@ public void Check_for_file_path_result_and_check_file_name()
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected file name to be '{0}', but instead was given '{1}'.",name,ControllerResultTestController.FileName)));
Assert.That(exception.Message,Is.EqualTo(string.Format("Expected file to be of content type '{0}', but instead was given '{1}'.",contentType,ControllerResultTestController.FileContentType)));
0 commit comments