You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test calls response.Content.TryGetValue("image/png", out var mediaType) (or "application/pdf") and asserts True, meaning the response content dictionary does not contain the expected media type key.
Stacktrace
Details
at OpenApiSchemaServiceTests.<>c.<GetOpenApiResponse_HandlesFileContentHttpResultTypeResponse>b__146_1(OpenApiDocument document)
in D:\a\_work\1\s\src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Services\OpenApiSchemaService\OpenApiSchemaService.ResponseSchemas.cs:line 1098
at OpenApiDocumentServiceTestBase.VerifyOpenApiDocument(IEndpointRouteBuilder builder, OpenApiOptions openApiOptions, Action`1 verifyOpenApiDocument, CancellationToken cancellationToken)
in D:\a\_work\1\s\src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Services\OpenApiDocumentServiceTestsBase.cs:line 38
at OpenApiDocumentServiceTestBase.VerifyOpenApiDocument(IEndpointRouteBuilder builder, Action`1 verifyOpenApiDocument)
in D:\a\_work\1\s\src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Services\OpenApiDocumentServiceTestsBase.cs:line 31
at OpenApiSchemaServiceTests.GetOpenApiResponse_HandlesFileContentHttpResultTypeResponse()
in D:\a\_work\1\s\src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Services\OpenApiSchemaService\OpenApiSchemaService.ResponseSchemas.cs:line 1093
Failing Test(s)
OpenApiSchemaServiceTests.GetOpenApiResponse_HandlesFileContentHttpResultTypeResponseOpenApiSchemaServiceTests.GetOpenApiResponse_HandlesFileStreamHttpResultTypeResponseError Message
The test calls
response.Content.TryGetValue("image/png", out var mediaType)(or"application/pdf") and assertsTrue, meaning the response content dictionary does not contain the expected media type key.Stacktrace
Details
Logs
Details
Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1358978
Note
🔒 Integrity filter blocked 12 items
The following items were blocked because they don't meet the GitHub integrity level.
search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".issue_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".issue_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter: