Skip to content

Commit

Permalink
Update SendgridEmailClientTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutiburman committed Nov 24, 2023
1 parent 673b0e0 commit da12323
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/SendGrid.Tests/SendgridEmailClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ public void TestClientOptionsConstruction()
var options = new SendGridClientOptions();
Assert.Equal("https://api.sendgrid.com", options.Host);
}
[Fact]
public void TestClientOptionsSetDataResidency()
{
var options = new SendGridClientOptions();
options.SetDataResidency("eu");
Assert.Equal("https://api.eu.sendgrid.com/", options.Host);
}

}
}

0 comments on commit da12323

Please sign in to comment.