Fix unit tests
This commit is contained in:
parent
6850e3b3b6
commit
ee6a57e9a2
|
|
@ -73,7 +73,7 @@ namespace Microsoft.AspNet.Authroization.Test
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var attributes = new AuthorizeAttribute[] {
|
var attributes = new AuthorizeAttribute[] {
|
||||||
new AuthorizeAttribute("2") { Roles = "r1 , r2" }
|
new AuthorizeAttribute() { Roles = "r1 , r2" }
|
||||||
};
|
};
|
||||||
var options = new AuthorizationOptions();
|
var options = new AuthorizationOptions();
|
||||||
|
|
||||||
|
|
@ -91,7 +91,7 @@ namespace Microsoft.AspNet.Authroization.Test
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
var attributes = new AuthorizeAttribute[] {
|
var attributes = new AuthorizeAttribute[] {
|
||||||
new AuthorizeAttribute("2") { ActiveAuthenticationSchemes = "a1 , a2" }
|
new AuthorizeAttribute() { ActiveAuthenticationSchemes = "a1 , a2" }
|
||||||
};
|
};
|
||||||
var options = new AuthorizationOptions();
|
var options = new AuthorizationOptions();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue