Skip to content

Commit

Permalink
Fix missing integration test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascioli committed Mar 4, 2024
1 parent adcda45 commit 9ee4a93
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
Expand Up @@ -3,6 +3,17 @@ source: apollo-router/tests/integration/redis.rs
expression: response
---
{
"errors": [
{
"message": "Unauthorized field or type",
"path": [
"me"
],
"extensions": {
"code": "UNAUTHORIZED_FIELD_OR_TYPE"
}
}
],
"data": {
"me": null,
"topProducts": [
Expand Down Expand Up @@ -35,16 +46,5 @@ expression: response
]
}
]
},
"errors": [
{
"message": "Unauthorized field or type",
"path": [
"me"
],
"extensions": {
"code": "UNAUTHORIZED_FIELD_OR_TYPE"
}
}
]
}
}
Expand Up @@ -3,6 +3,18 @@ source: apollo-router/tests/integration/redis.rs
expression: response
---
{
"errors": [
{
"message": "Unauthorized field or type",
"path": [
"me",
"name"
],
"extensions": {
"code": "UNAUTHORIZED_FIELD_OR_TYPE"
}
}
],
"data": {
"me": {
"id": "1",
Expand Down Expand Up @@ -38,17 +50,5 @@ expression: response
]
}
]
},
"errors": [
{
"message": "Unauthorized field or type",
"path": [
"me",
"name"
],
"extensions": {
"code": "UNAUTHORIZED_FIELD_OR_TYPE"
}
}
]
}
}
Expand Up @@ -3,6 +3,30 @@ source: apollo-router/tests/integration/redis.rs
expression: response
---
{
"errors": [
{
"message": "Unauthorized field or type",
"path": [
"me"
],
"extensions": {
"code": "UNAUTHORIZED_FIELD_OR_TYPE"
}
},
{
"message": "Unauthorized field or type",
"path": [
"topProducts",
"@",
"reviews",
"@",
"author"
],
"extensions": {
"code": "UNAUTHORIZED_FIELD_OR_TYPE"
}
}
],
"data": {
"me": null,
"topProducts": [
Expand All @@ -29,29 +53,5 @@ expression: response
]
}
]
},
"errors": [
{
"message": "Unauthorized field or type",
"path": [
"me"
],
"extensions": {
"code": "UNAUTHORIZED_FIELD_OR_TYPE"
}
},
{
"message": "Unauthorized field or type",
"path": [
"topProducts",
"@",
"reviews",
"@",
"author"
],
"extensions": {
"code": "UNAUTHORIZED_FIELD_OR_TYPE"
}
}
]
}
}

0 comments on commit 9ee4a93

Please sign in to comment.