chore(thegraph-graphql-http): update test server URL #478
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the test server URL and re-enables several tests in the
thegraph-graphql-http
module. The most important changes include updating theTEST_SERVER_URL
constant and removing theignore
attribute from multiple test functions.Test Server URL Update:
thegraph-graphql-http/tests/it_graphql_http_client.rs
: UpdatedTEST_SERVER_URL
to "https://graphql.org/graphql/" from the previous "https://swapi-graphql.netlify.app/.netlify/functions/index".thegraph-graphql-http/tests/it_graphql_http_client_graphql_client.rs
: UpdatedTEST_SERVER_URL
to "https://graphql.org/graphql/" from the previous "https://swapi-graphql.netlify.app/.netlify/functions/index".thegraph-graphql-http/tests/it_graphql_http_client_graphql_parser.rs
: UpdatedTEST_SERVER_URL
to "https://graphql.org/graphql/" from the previous "https://swapi-graphql.netlify.app/.netlify/functions/index".Re-enabling Tests:
thegraph-graphql-http/tests/it_graphql_http_client.rs
: Removedignore
attribute from several test functions, includingsend_valid_graphql_request_no_variables
,send_valid_graphql_request_with_variables
,send_invalid_request_document_parsing_failure
,send_invalid_request_field_errors_encountered_during_execution_failure
,send_invalid_request_operation_cannot_be_determined_failure_null_operation_name
,send_invalid_request_operation_cannot_be_determined_failure_invalid_operation_name
, andsend_invalid_request_variable_coercion_failure
. [1] [2] [3] [4] [5] [6]thegraph-graphql-http/tests/it_graphql_http_client_graphql_client.rs
: Removedignore
attribute fromsend_valid_graphql_request_no_variables
andsend_valid_graphql_request_with_variables
. [1] [2]thegraph-graphql-http/tests/it_graphql_http_client_graphql_parser.rs
: Removedignore
attribute fromsend_valid_graphql_request_no_variables
andsend_valid_graphql_request_with_variables
.