From 19cb15be540c5c9ce6733ce143375d42a893fb48 Mon Sep 17 00:00:00 2001 From: Kiran Challa Date: Mon, 3 Apr 2017 17:13:49 -0700 Subject: [PATCH] Revert "Skipping model validation tests temporarily to unblock mirror" This reverts commit e25bfa8919bbe4c1b3e90c04a36a3ad78e43857d. --- .../BodyValidationIntegrationTests.cs | 2 +- .../TryValidateModelIntegrationTest.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BodyValidationIntegrationTests.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BodyValidationIntegrationTests.cs index a79d35b679..1f967fe98d 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BodyValidationIntegrationTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/BodyValidationIntegrationTests.cs @@ -93,7 +93,7 @@ namespace Microsoft.AspNetCore.Mvc.IntegrationTests Assert.Equal(2, products.Count()); } - [Fact(Skip = "https://github.com/aspnet/Mvc/issues/6058")] + [Fact] public async Task ModelMetadataTypeAttribute_InvalidPropertiesAndSubPropertiesOnBaseClass_HasModelStateErrors() { // Arrange diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs index 23fdc7a6b8..2d505f5420 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs @@ -75,7 +75,7 @@ namespace Microsoft.AspNetCore.Mvc.IntegrationTests Assert.Empty(modelStateErrors); } - [Fact(Skip = "https://github.com/aspnet/Mvc/issues/6058")] + [Fact] [ReplaceCulture] public void TryValidateModel_CollectionsModel_ReturnsErrorsForInvalidProperties() {