Disable JWT Bearer test failing on Mono.

This commit is contained in:
Chris R 2015-10-08 17:02:43 -07:00
parent 9e02ef9b7b
commit 8d8943bcfe
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,7 @@ using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.TestHost;
using Microsoft.AspNet.Testing.xunit;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
@ -19,7 +20,9 @@ namespace Microsoft.AspNet.Authentication.JwtBearer
{
public class JwtBearerMiddlewareTests
{
[Fact]
[ConditionalFact]
[FrameworkSkipCondition(RuntimeFrameworks.Mono)]
// https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/179
public async Task BearerTokenValidation()
{
var server = CreateServer(options =>

View File

@ -12,6 +12,7 @@
"Microsoft.AspNet.Authentication.Twitter": "1.0.0-*",
"Microsoft.AspNet.DataProtection": "1.0.0-*",
"Microsoft.AspNet.TestHost": "1.0.0-*",
"Microsoft.AspNet.Testing": "1.0.0-*",
"Moq": "4.2.1312.1622",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},