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 da12323 commit 7ae6c69
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/SendGrid.Tests/SendgridEmailClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ public void TestClientOptionsSetDataResidency()
options.SetDataResidency("eu");
Assert.Equal("https://api.eu.sendgrid.com/", options.Host);
}
public void TestClientOptionsSetDataResidencyGlobalWrong()

Check warning on line 21 in tests/SendGrid.Tests/SendgridEmailClientTests.cs

View workflow job for this annotation

GitHub Actions / Test

Public method 'TestClientOptionsSetDataResidencyGlobalWrong' on test class 'SendgridEmailClientTests' should be marked as a Fact.

Check warning on line 21 in tests/SendGrid.Tests/SendgridEmailClientTests.cs

View workflow job for this annotation

GitHub Actions / Test

Public method 'TestClientOptionsSetDataResidencyGlobalWrong' on test class 'SendgridEmailClientTests' should be marked as a Fact.
{
var options = new SendGridClientOptions();
options.SetDataResidency("eu");
Assert.Equal("https://api.sendgrid.com/", options.Host);
}

}
}

0 comments on commit 7ae6c69

Please sign in to comment.