Skip to content

Commit ca6353c

Browse files
committed
ask alan
1 parent f3388ea commit ca6353c

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

features/graphql/input_output.feature

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,12 @@ Feature: GraphQL DTO input and output
2727
"bat": "OutputDto/bat",
2828
"relatedDummies": "OutputDto/relatedDummies"
2929
},
30-
"@type": "DummyDtoInputOutput",
31-
"@id": "/dummy_dto_input_outputs/1",
30+
"@type": "OutputDto",
3231
"id": 1,
3332
"baz": 1,
3433
"bat": "test",
3534
"relatedDummies": [
3635
{
37-
"@context": "/contexts/RelatedDummy",
3836
"@id": "/related_dummies/1",
3937
"@type": "https://schema.org/Product",
4038
"name": "RelatedDummy with friends",
@@ -150,7 +148,7 @@ Feature: GraphQL DTO input and output
150148
{
151149
"errors": [
152150
{
153-
"message": "Cannot query field \"id\" on type \"DummyDtoNoOutput\".",
151+
"message": "Cannot query field \"id\" on type \"createDummyDtoNoOutputPayloadData\".",
154152
"extensions": {
155153
"category": "graphql"
156154
},

features/graphql/introspection.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,4 +565,4 @@ Feature: GraphQL introspection support
565565
And the header "Content-Type" should be equal to "application/json"
566566
And the JSON node "errors[0].debugMessage" should be equal to 'Type with id "VoDummyInspectionCursorConnection" is not present in the types container'
567567
And the JSON node "data.typeNotAvailable" should be null
568-
And the JSON node "data.typeOwner.fields[3].type.name" should be equal to "VoDummyInspectionCursorConnection"
568+
And the JSON node "data.typeOwner.fields[1].type.name" should be equal to "VoDummyInspectionCursorConnection"

features/graphql/mutation.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ Feature: GraphQL mutation support
400400
And the header "Content-Type" should be equal to "application/json"
401401
And the JSON node "data.createFoo.foo.id" should be equal to "/foos/1"
402402
And the JSON node "data.createFoo.foo._id" should be equal to 1
403-
And the JSON node "data.createFoo.foo.__typename" should be equal to "Foo"
403+
And the JSON node "data.createFoo.foo.__typename" should be equal to "createFooPayloadData"
404404
And the JSON node "data.createFoo.foo.name" should be equal to "A new one"
405405
And the JSON node "data.createFoo.foo.bar" should be equal to "new"
406406
And the JSON node "data.createFoo.clientMutationId" should be equal to "myId"

features/jsonld/input_output.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ Feature: JSON-LD DTO input and output
103103
"bar": 1
104104
}
105105
"""
106-
Then print last JSON response
107106
Then the response status code should be 201
108107
And the JSON should be a superset of:
109108
"""

tests/Fixtures/TestBundle/Entity/RelatedDummy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class RelatedDummy extends ParentDummy
5353
* @var string|null A name
5454
*/
5555
#[ORM\Column(nullable: true)]
56-
#[Groups(['friends'])]
56+
#[Groups(['friends', 'chicago'])]
5757
public $name;
5858

5959
#[ORM\Column]

0 commit comments

Comments
 (0)