diff --git a/src/HotChocolate/Core/test/Types.Mutations.Tests/AnnotationBasedMutations.cs b/src/HotChocolate/Core/test/Types.Mutations.Tests/AnnotationBasedMutations.cs index 033b3f93383..2af5f0fd574 100644 --- a/src/HotChocolate/Core/test/Types.Mutations.Tests/AnnotationBasedMutations.cs +++ b/src/HotChocolate/Core/test/Types.Mutations.Tests/AnnotationBasedMutations.cs @@ -436,6 +436,7 @@ public async Task SimpleMutation_Override_Payload() schema.MatchSnapshot(); } +#if NET7_0_OR_GREATER [Fact] public async Task SimpleMutation_Override_Payload_WithError() { @@ -450,6 +451,7 @@ public async Task SimpleMutation_Override_Payload_WithError() schema.MatchSnapshot(); } +#endif [Fact] public async Task SimpleMutation_Override_Input() diff --git a/src/HotChocolate/PersistedOperations/test/PersistedOperations.FileSystem.Tests/__snapshots__/IntegrationTests.ExecutePersistedOperation.snap b/src/HotChocolate/PersistedOperations/test/PersistedOperations.FileSystem.Tests/__snapshots__/IntegrationTests.ExecutePersistedOperation.snap index 4c9157734be..20b47cc26bc 100644 --- a/src/HotChocolate/PersistedOperations/test/PersistedOperations.FileSystem.Tests/__snapshots__/IntegrationTests.ExecutePersistedOperation.snap +++ b/src/HotChocolate/PersistedOperations/test/PersistedOperations.FileSystem.Tests/__snapshots__/IntegrationTests.ExecutePersistedOperation.snap @@ -1,19 +1,8 @@ -{ - "Kind": "SingleResult", - "RequestIndex": null, - "VariableIndex": null, - "Label": null, - "Path": null, - "Data": { +{ + "data": { "__typename": "Query" }, - "Items": null, - "Errors": null, - "Extensions": { + "extensions": { "persistedDocument": true - }, - "Incremental": null, - "ContextData": null, - "HasNext": null, - "IsDataSet": true + } } diff --git a/src/HotChocolate/PersistedOperations/test/PersistedOperations.FileSystem.Tests/__snapshots__/IntegrationTests.ExecutePersistedOperation_NotFound.snap b/src/HotChocolate/PersistedOperations/test/PersistedOperations.FileSystem.Tests/__snapshots__/IntegrationTests.ExecutePersistedOperation_NotFound.snap index e17c53c9eec..bfebe739706 100644 --- a/src/HotChocolate/PersistedOperations/test/PersistedOperations.FileSystem.Tests/__snapshots__/IntegrationTests.ExecutePersistedOperation_NotFound.snap +++ b/src/HotChocolate/PersistedOperations/test/PersistedOperations.FileSystem.Tests/__snapshots__/IntegrationTests.ExecutePersistedOperation_NotFound.snap @@ -1,32 +1,11 @@ -{ - "Kind": "SingleResult", - "RequestIndex": null, - "VariableIndex": null, - "Label": null, - "Path": null, - "Data": null, - "Items": null, - "Errors": [ +{ + "errors": [ { - "Message": "The specified persisted operation key is invalid.", - "Code": "HC0020", - "Path": null, - "Locations": null, - "Extensions": { + "message": "The specified persisted operation key is invalid.", + "extensions": { "code": "HC0020", - "requestedKey": { - "IsEmpty": false, - "Value": "does_not_exist" - } - }, - "Exception": null + "requestedKey": "does_not_exist" + } } - ], - "Extensions": null, - "Incremental": null, - "ContextData": { - "HotChocolate.Execution.Transport.HttpStatusCode": 400 - }, - "HasNext": null, - "IsDataSet": false + ] }