upgrade to graphql 16 (#9290)

* upgrade to graphql 16

* update base graphql tests
This commit is contained in:
chris48s
2023-06-23 19:47:40 +01:00
committed by GitHub
parent 5085ef0209
commit 1e85cf7926
3 changed files with 11 additions and 11 deletions

View File

@@ -48,7 +48,7 @@ describe('BaseGraphqlService', function () {
expect(requestFetcher).to.have.been.calledOnceWith(
'http://example.com/graphql',
{
body: '{"query":"{\\n requiredString\\n}\\n","variables":{}}',
body: '{"query":"{\\n requiredString\\n}","variables":{}}',
headers: { Accept: 'application/json' },
method: 'POST',
}
@@ -80,7 +80,7 @@ describe('BaseGraphqlService', function () {
expect(requestFetcher).to.have.been.calledOnceWith(
'http://example.com/graphql',
{
body: '{"query":"{\\n requiredString\\n}\\n","variables":{}}',
body: '{"query":"{\\n requiredString\\n}","variables":{}}',
headers: { Accept: 'application/json' },
method: 'POST',
searchParams: { queryParam: 123 },