File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -5998,17 +5998,21 @@ public async Task TestTakesHttpClientFactoryAsConstructorArgumentAndUsesItInHttp
59985998 [ Fact ]
59995999 public void TestTakesProxyAsConstructorArgumentAndInitiailsesHttpClient ( )
60006000 {
6001- var sg = new SendGridClient ( new FakeWebProxy ( ) , fixture . apiKey ) ;
6001+ var urlPath = "urlPath" ;
60026002
6003- Assert . NotNull ( sg ) ;
6003+ var sg = new SendGridClient ( new FakeWebProxy ( ) , fixture . apiKey , urlPath : "urlPath" ) ;
6004+
6005+ Assert . Equal ( sg . UrlPath , urlPath ) ;
60046006 }
60056007
60066008 [ Fact ]
60076009 public void TestTakesNullProxyAsConstructorArgumentAndInitiailsesHttpClient ( )
60086010 {
6009- var sg = new SendGridClient ( null as IWebProxy , fixture . apiKey ) ;
6011+ var urlPath = "urlPath" ;
6012+
6013+ var sg = new SendGridClient ( null as IWebProxy , fixture . apiKey , urlPath : "urlPath" ) ;
60106014
6011- Assert . NotNull ( sg ) ;
6015+ Assert . Equal ( sg . UrlPath , urlPath ) ;
60126016 }
60136017
60146018 /// <summary>
You can’t perform that action at this time.
0 commit comments