We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5358b4f commit 736e04bCopy full SHA for 736e04b
src/ArcadeDotnet.Tests/ArcadeClientEdgeCasesTest.cs
@@ -144,8 +144,11 @@ public void Constructor_Parameterless_WithInvalidEnvironmentBaseUrl_ShouldUseDef
144
145
try
146
{
147
- // Act & Assert - Should throw because URL parsing fails
148
- Assert.Throws<UriFormatException>(() => new ArcadeClient());
+ // Act - Invalid URL should be ignored and default used
+ var client = new ArcadeClient();
149
+
150
+ // Assert - Should use default base URL
151
+ Assert.Equal(new Uri(ArcadeClientOptions.DefaultBaseUrl), client.BaseUrl);
152
}
153
finally
154
0 commit comments