From e434fc30c48ded94d6d1fa8a9aa54c7802ce02fe Mon Sep 17 00:00:00 2001 From: maliming Date: Thu, 2 Jan 2020 14:24:46 +0800 Subject: [PATCH] Fixed unit test failure due to NoContent method filter. --- .../Abp/AspNetCore/Mvc/Features/FeatureTestController_Tests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Features/FeatureTestController_Tests.cs b/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Features/FeatureTestController_Tests.cs index 8b8ad14da4..52ff323be6 100644 --- a/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Features/FeatureTestController_Tests.cs +++ b/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Features/FeatureTestController_Tests.cs @@ -10,7 +10,7 @@ namespace Volo.Abp.AspNetCore.Mvc.Features public async Task Should_Allow_Enabled_Features() { await GetResponseAsStringAsync( - "/api/feature-test/allowed-feature" + "/api/feature-test/allowed-feature", HttpStatusCode.NoContent ).ConfigureAwait(false); }