Skip to content

Commit 56f0de6

Browse files
committed
fixup
1 parent fbdf290 commit 56f0de6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/MaxRequestBodySizeTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ public async Task SetIISLimitMaxRequestBodyLogsWarning()
7373
var result = await deploymentResult.HttpClient.PostAsync("/DecreaseRequestLimit", new StringContent("1"));
7474
Assert.Equal(HttpStatusCode.OK, result.StatusCode);
7575

76-
Assert.Single(TestSink.Writes, w => w.Message == "Increasing the MaxRequestBodySize conflicts with the max value for IIS limit maxAllowedContentLength." +
76+
Assert.Single(TestSink.Writes, w => w.Message.Contains("Increasing the MaxRequestBodySize conflicts with the max value for IIS limit maxAllowedContentLength." +
7777
" HTTP requests that have a content length greater than maxAllowedContentLength will still be rejected by IIS." +
78-
" You can disable the limit by either removing or setting the maxAllowedContentLength value to a higher limit.");
78+
" You can disable the limit by either removing or setting the maxAllowedContentLength value to a higher limit."));
7979
}
8080
}
8181
}

src/Servers/IIS/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212

1313
<ItemGroup>
14+
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Server.IIS.csproj" />
1415
<ProjectReference Include="..\Common.Tests\Common.Tests.csproj" />
1516
<ProjectReference Include="$(RepositoryRoot)src\Hosting\Server.IntegrationTesting\src\Microsoft.AspNetCore.Server.IntegrationTesting.csproj" />
1617
<ProjectReference Include="$(RepositoryRoot)src\Servers\IIS\IntegrationTesting.IIS\src\Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj" />

0 commit comments

Comments
 (0)