From ddf6a45f8086b29a2294f4b1ea39d6f5cfd7b30c Mon Sep 17 00:00:00 2001 From: Rowan Miller Date: Wed, 28 Oct 2015 13:37:34 -0700 Subject: [PATCH] :green_heart: Skip LocalDb dependent test on Mono Some tests rely on LocalDb and therefore do not run on Mac/Linux. We have https://github.com/aspnet/Diagnostics/issues/176 open to address this, but in the meantime some of the tests are skipped. Adding one more test that we missed. --- .../DatabaseErrorPageMiddlewareTest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Microsoft.AspNet.Diagnostics.Entity.FunctionalTests/DatabaseErrorPageMiddlewareTest.cs b/test/Microsoft.AspNet.Diagnostics.Entity.FunctionalTests/DatabaseErrorPageMiddlewareTest.cs index 2cd385ee9f..3233544ccc 100644 --- a/test/Microsoft.AspNet.Diagnostics.Entity.FunctionalTests/DatabaseErrorPageMiddlewareTest.cs +++ b/test/Microsoft.AspNet.Diagnostics.Entity.FunctionalTests/DatabaseErrorPageMiddlewareTest.cs @@ -281,7 +281,8 @@ namespace Microsoft.AspNet.Diagnostics.Entity.Tests } } - [Fact] + [ConditionalTheory] + [FrameworkSkipCondition(RuntimeFrameworks.Mono)] public async Task Pass_thru_when_context_not_in_services() { using (var database = SqlServerTestStore.CreateScratch())