Skip to content

Commit 5393e1f

Browse files
authored
Adapted test case to set Authority to an http address (dotnet#35361)
1 parent 6acac81 commit 5393e1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ public Task ThrowsWhenAuthorityIsNotHttps()
521521
{
522522
o.SignInScheme = "TestScheme";
523523
o.ClientId = "Test Id";
524-
o.MetadataAddress = "http://example.com";
524+
o.Authority = "http://example.com";
525525
o.CallbackPath = "/";
526526
},
527527
ex => Assert.Equal("The MetadataAddress or Authority must use HTTPS unless disabled for development by setting RequireHttpsMetadata=false.", ex.Message)

0 commit comments

Comments
 (0)