React to Caption => DisplayName
This commit is contained in:
parent
8b3175e904
commit
1ff204f47c
|
|
@ -137,7 +137,7 @@ namespace Microsoft.AspNet.Server.WebListener
|
|||
return new Dictionary<string, object>()
|
||||
{
|
||||
{ "AuthenticationScheme", authenticationScheme },
|
||||
{ "Caption", "Windows:" + authenticationScheme },
|
||||
{ "DisplayName", "Windows:" + authenticationScheme },
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue