diff --git a/src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs b/src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs
index 864b9e3ace731aa32428489684eff09e69068d4d..2cb2314fa04b9508912cf15b995c16456924cc47 100644
--- a/src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs
+++ b/src/Security/Authentication/test/OpenIdConnect/OpenIdConnectConfigurationTests.cs
@@ -521,7 +521,7 @@ namespace Microsoft.AspNetCore.Authentication.Test.OpenIdConnect
                 {
                     o.SignInScheme = "TestScheme";
                     o.ClientId = "Test Id";
-                    o.MetadataAddress = "http://example.com";
+                    o.Authority = "http://example.com";
                     o.CallbackPath = "/";
                 },
                 ex => Assert.Equal("The MetadataAddress or Authority must use HTTPS unless disabled for development by setting RequireHttpsMetadata=false.", ex.Message)