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
using Postal;
using System;
using System.Collections.Generic;
using System.Web;
public class DocWaitingSignEmail : Email
{
public DocWaitingSignEmail() : base() { }
public DocWaitingSignEmail(String Name) : base(Name) { }
public string Message { get; set; }
public string SignKey { get; set; }
}
this method is tested by
[TestMethod]
public void ResendMail_5048()
{
var req = VerbRequestMessage("api/ESignature/ResendMailSign", HttpMethod.Get);
var r = GetControllerAs("myuserlogin").ResendMailSign(req, 5048);
Console.WriteLine(r.StatusCode);
Assert.IsTrue(r.IsSuccessStatusCode, "IsSuccessStatusCode == false");
}
It seems like MS Unit Testing is not supported by Postal because it always throw an exception : at line email.Send(); of SendMemeSiMailNull
Value cannot be null : httpBrowserCapabilities
The text was updated successfully, but these errors were encountered:
I have an issue during Unit testing.
I have an hybrid MVC5 + Web API2 web application running in .NET framework 4.5.1
I have a Web Api that send a mail from users linked to a fileid.
My Method that send mail SendMemeSiMailNull
the "Postal" Class
this method is tested by
It seems like MS Unit Testing is not supported by Postal because it always throw an exception : at line
email.Send();
ofSendMemeSiMailNull
Value cannot be null : httpBrowserCapabilities
The text was updated successfully, but these errors were encountered: