Specify scheme for tests
This commit is contained in:
parent
cad389a75b
commit
5ab63adf2e
|
|
@ -46,13 +46,13 @@ namespace ServerComparison.TestSites
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return context.ChallengeAsync();
|
return context.ChallengeAsync("Windows");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (context.Request.Path.Equals("/Forbidden"))
|
if (context.Request.Path.Equals("/Forbidden"))
|
||||||
{
|
{
|
||||||
return context.ForbidAsync();
|
return context.ForbidAsync("Windows");
|
||||||
}
|
}
|
||||||
|
|
||||||
return context.Response.WriteAsync("Hello World");
|
return context.Response.WriteAsync("Hello World");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue