@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Cosmos.Tests
2626 public class CosmosClientOptionsUnitTests
2727 {
2828 public const string AccountEndpoint = "https://localhost:8081/" ;
29- public const string ConnectionString = "AccountEndpoint=https://localtestcosmos .documents.azure.com:443/;AccountKey=425Mcv8CXQqzRNCgFNjIhT424GK99CKJvASowTnq15Vt8LeahXTcN5wt3342vQ ==;" ;
29+ public const string ConnectionString = "AccountEndpoint=https://example .documents.azure.com:443/;AccountKey=NotRealKey ==;" ;
3030 public Func < HttpClient > HttpClientFactoryDelegate = ( ) => new HttpClient ( ) ;
3131
3232 [ TestMethod ]
@@ -707,15 +707,15 @@ public void ThrowOnNullConnectionString()
707707 [ ExpectedException ( typeof ( ArgumentException ) ) ]
708708 public void ThrowOnMissingAccountKeyInConnectionString ( )
709709 {
710- string invalidConnectionString = "AccountEndpoint=https://localtestcosmos .documents.azure.com:443/;" ;
710+ string invalidConnectionString = "AccountEndpoint=https://example .documents.azure.com:443/;" ;
711711 new CosmosClientBuilder ( invalidConnectionString ) ;
712712 }
713713
714714 [ TestMethod ]
715715 [ ExpectedException ( typeof ( ArgumentException ) ) ]
716716 public void ThrowOnMissingAccountEndpointInConnectionString ( )
717717 {
718- string invalidConnectionString = "AccountKey=425Mcv8CXQqzRNCgFNjIhT424GK99CKJvASowTnq15Vt8LeahXTcN5wt3342vQ ==;" ;
718+ string invalidConnectionString = "AccountKey=NotRealKey ==;" ;
719719 new CosmosClientBuilder ( invalidConnectionString ) ;
720720 }
721721
@@ -760,7 +760,7 @@ public void VerifyHttpClientFactoryBlockedWithConnectionLimit()
760760 public void VerifyHttpClientHandlerIsSet ( )
761761 {
762762 string endpoint = AccountEndpoint ;
763- string key = "425Mcv8CXQqzRNCgFNjIhT424GK99CKJvASowTnq15Vt8LeahXTcN5wt3342vQ ==" ;
763+ string key = "NotRealKey ==" ;
764764
765765 IWebProxy webProxy = new TestWebProxy ( ) ;
766766
0 commit comments