Skip to content

Quarantine OpenApiDocumentLocalizationTests.VerifyOpenApiDocumentIsInvariant #63079

@JamesNK

Description

@JamesNK

Failing Test(s)

  • OpenApiDocumentLocalizationTests.VerifyOpenApiDocumentIsInvariant

Error Message

VerifyException : Directory: /tmp/helix/working/A226095E/w/ADD809D8/e/Integration/snapshots
NotEqual:



Received: OpenApiDocumentLocalizationTests.VerifyOpenApiDocumentIsInvariant.received.txt
Verified: OpenApiDocumentLocalizationTests.VerifyOpenApiDocumentIsInvariant.verified.txt


FileContent:


NotEqual:


Received: OpenApiDocumentLocalizationTests.VerifyOpenApiDocumentIsInvariant.received.txt
{
"openapi": "3.1.1",
"info": {
"title": "Sample | localized",
"description": "This is a localized OpenAPI document for français (France).",
"version": "1.0.0"
},
"servers": [
{
"url": "http://localhost/"
}
],
"paths": {
"/forms/form-file": {
"post": {
"tags": [
"Sample"
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"required": [
"resume"
],
"type": "object",
"properties": {
"resume": {
"$ref": "#/components/schemas/IFormFile"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/forms/form-files": {
"post": {
"tags": [
"Sample"
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"required": [
"files"
],
"type": "object",
"properties": {
"files": {
"$ref": "#/components/schemas/IFormFileCollection"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/forms/form-file-multiple": {
"post": {
"tags": [
"Sample"
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"required": [
"resume",
"files"
],
"type": "object",
"allOf": [
{
"type": "object",
"properties": {
"resume": {
"$ref": "#/components/schemas/IFormFile"
}
}
},
{
"type": "object",
"properties": {
"files": {
"$ref": "#/components/schemas/IFormFileCollection"
}
}
}
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/forms/form-todo": {
"post": {
"tags": [
"Sample"
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/Todo"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/Todo"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/forms/forms-pocos-and-files": {
"post": {
"tags": [
"Sample"
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"required": [
"file"

Stacktrace


Logs

console.4d14bae4.txt

Build

https://github.com/dotnet/aspnetcore/runs/47242690965

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatestest-failure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions