Skip to content

Commit 0ebabe3

Browse files
fix: removed obsolete FaxRegion
1 parent e8abd07 commit 0ebabe3

2 files changed

Lines changed: 2 additions & 19 deletions

File tree

src/Sinch/Fax/FaxRegion.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/Sinch.Tests/Fax/FaxConfigurationTests.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,13 @@ public class FaxConfigurationTests
1111
{
1212
public record FaxUrlTestCase(
1313
string TestName,
14-
FaxRegion Region,
1514
string UrlOverride,
1615
string ExpectedUrl)
1716
{
1817
private static readonly FaxUrlTestCase[] TestCases =
1918
{
20-
new("No region specified", null, null, "https://fax.api.sinch.com/"),
21-
new("Default Europe Fax region", FaxRegion.Europe, null, "https://eu1.fax.api.sinch.com/"),
22-
new("Default US East Coast Fax region", FaxRegion.UsEastCoast, null, "https://use1.fax.api.sinch.com/"),
23-
new("Europe region with null override", FaxRegion.Europe, null, "https://eu1.fax.api.sinch.com/"),
24-
new("Europe region with custom override", FaxRegion.Europe, "https://new-fax.url", "https://new-fax.url/")
19+
new("Global url", null, "https://fax.api.sinch.com/"),
20+
new("Custom url", "https://custom.fax.api.sinch.com/", "https://custom.fax.api.sinch.com/"),
2521
};
2622

2723
public static IEnumerable<object[]> TestCasesData =>

0 commit comments

Comments
 (0)