@@ -75,8 +75,8 @@ public void GivenSecurityNotEnabled_WhenBuildCalled_SecurityNotAddedToBuilder()
75
75
76
76
[ Theory ]
77
77
[ InlineData ( null , null ) ]
78
- [ InlineData ( null , "https://localhost :44312/token" ) ]
79
- [ InlineData ( "https://localhost :44312/auth" , null ) ]
78
+ [ InlineData ( null , "https://testhost :44312/token" ) ]
79
+ [ InlineData ( "https://testhost :44312/auth" , null ) ]
80
80
public void GivenOAuthAuthorizationEndpointOrTokenEndpointIsInvalid_WhenBuildCalled_ExceptionThrown ( string auth , string token )
81
81
{
82
82
_wellKnownConfigurationProvider . GetOpenIdConfigurationAsync ( Arg . Any < CancellationToken > ( ) ) . Returns ( GetOpenIdConfiguration ( auth , token ) ) ;
@@ -87,8 +87,8 @@ public void GivenOAuthAuthorizationEndpointOrTokenEndpointIsInvalid_WhenBuildCal
87
87
[ Fact ]
88
88
public void GivenOpenIdConfigurationProvided_WhenBuildCalled_ExpectedCapabilitiesAreAdded ( )
89
89
{
90
- string auth = "https://localhost :44312/auth" ;
91
- string token = "https://localhost :44312/token" ;
90
+ string auth = "https://testhost :44312/auth" ;
91
+ string token = "https://testhost :44312/token" ;
92
92
93
93
_modelInfoProvider . Version . Returns ( FhirSpecification . R4 ) ;
94
94
_wellKnownConfigurationProvider . IsSmartConfigured ( ) . Returns ( false ) ;
@@ -113,11 +113,11 @@ public void GivenOpenIdConfigurationProvided_WhenBuildCalled_ExpectedCapabilitie
113
113
}
114
114
115
115
[ Theory ]
116
- [ InlineData ( "https://localhost :44312/auth" , "https://localhost :44312/token" , null , null , null , null ) ]
117
- [ InlineData ( "https://localhost :44312/auth" , "https://localhost :44312/token" , "https://localhost :44312/reg" , null , null , null ) ]
118
- [ InlineData ( "https://localhost :44312/auth" , "https://localhost :44312/token" , "https://localhost :44312/reg" , "https://localhost :44312/man" , null , null ) ]
119
- [ InlineData ( "https://localhost :44312/auth" , "https://localhost :44312/token" , "https://localhost :44312/reg" , "https://localhost :44312/man" , "https://localhost :44312/intr" , null ) ]
120
- [ InlineData ( "https://localhost :44312/auth" , "https://localhost :44312/token" , "https://localhost :44312/reg" , "https://localhost :44312/man" , "https://localhost :44312/intr" , "https://localhost :44312/rev" ) ]
116
+ [ InlineData ( "https://testhost :44312/auth" , "https://testhost :44312/token" , null , null , null , null ) ]
117
+ [ InlineData ( "https://testhost :44312/auth" , "https://testhost :44312/token" , "https://testhost :44312/reg" , null , null , null ) ]
118
+ [ InlineData ( "https://testhost :44312/auth" , "https://testhost :44312/token" , "https://testhost :44312/reg" , "https://testhost :44312/man" , null , null ) ]
119
+ [ InlineData ( "https://testhost :44312/auth" , "https://testhost :44312/token" , "https://testhost :44312/reg" , "https://testhost :44312/man" , "https://testhost :44312/intr" , null ) ]
120
+ [ InlineData ( "https://testhost :44312/auth" , "https://testhost :44312/token" , "https://testhost :44312/reg" , "https://testhost :44312/man" , "https://testhost :44312/intr" , "https://testhost :44312/rev" ) ]
121
121
public void GivenSmartConfigurationProvided_WhenBuildCalled_ExpectedCapabilitiesAreAdded ( string auth , string token , string reg , string man , string intr , string rev )
122
122
{
123
123
_modelInfoProvider . Version . Returns ( FhirSpecification . R4 ) ;
@@ -149,8 +149,8 @@ public void GivenSmartConfigurationProvided_WhenBuildCalled_ExpectedCapabilities
149
149
[ Fact ]
150
150
public void GivenSmartConfigurationIsNotValid_WhenBuildCalled_FallbackCapabilitiesAreAdded ( )
151
151
{
152
- string auth = "https://localhost :44312/auth" ;
153
- string token = "https://localhost :44312/token" ;
152
+ string auth = "https://testhost :44312/auth" ;
153
+ string token = "https://testhost :44312/token" ;
154
154
155
155
_modelInfoProvider . Version . Returns ( FhirSpecification . R4 ) ;
156
156
_wellKnownConfigurationProvider . IsSmartConfigured ( ) . Returns ( true ) ;
0 commit comments