#287 Do not include an auth display name
This commit is contained in:
Родитель
8d61026438
Коммит
d103bdb1ba
|
@ -117,7 +117,6 @@ namespace Microsoft.AspNetCore.Server.HttpSys
|
||||||
return new Dictionary<string, object>()
|
return new Dictionary<string, object>()
|
||||||
{
|
{
|
||||||
{ "AuthenticationScheme", authenticationScheme },
|
{ "AuthenticationScheme", authenticationScheme },
|
||||||
{ "DisplayName", "Windows:" + authenticationScheme },
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -192,7 +192,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys
|
||||||
Assert.Equal(1, resultList.Count());
|
Assert.Equal(1, resultList.Count());
|
||||||
var result = resultList.First();
|
var result = resultList.First();
|
||||||
Assert.Equal(authType.ToString(), result.AuthenticationScheme);
|
Assert.Equal(authType.ToString(), result.AuthenticationScheme);
|
||||||
Assert.Equal("Windows:" + authType.ToString(), result.DisplayName);
|
Assert.Null(result.DisplayName);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Task.FromResult(0);
|
return Task.FromResult(0);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче