React to Caption => DisplayName

This commit is contained in:
Hao Kung 2015-09-23 15:21:53 -07:00
parent 8b3175e904
commit 1ff204f47c
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ namespace Microsoft.AspNet.Server.WebListener
return new Dictionary<string, object>()
{
{ "AuthenticationScheme", authenticationScheme },
{ "Caption", "Windows:" + authenticationScheme },
{ "DisplayName", "Windows:" + authenticationScheme },
};
}

View File

@ -202,7 +202,7 @@ namespace Microsoft.AspNet.Server.WebListener
Assert.Equal(1, resultList.Count());
var result = resultList.First();
Assert.Equal(authType.ToString(), result.AuthenticationScheme);
Assert.Equal("Windows:" + authType.ToString(), result.Caption);
Assert.Equal("Windows:" + authType.ToString(), result.DisplayName);
}
return Task.FromResult(0);