Skip to content

Commit

Permalink
chore(thegraph-graphql-http): disable tests due to unavailable test d…
Browse files Browse the repository at this point in the history
…ependency (#462)

Signed-off-by: Lorenzo Delgado <[email protected]>
  • Loading branch information
LNSD authored Jan 9, 2025
1 parent 52bf162 commit 92b13d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions thegraph-graphql-http/tests/it_graphql_http_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use thegraph_graphql_http::{
const TEST_SERVER_URL: &str = "https://swapi-graphql.netlify.app/.netlify/functions/index";

#[tokio::test]
#[ignore = "Test server unavailable"]
async fn send_valid_graphql_request_no_variables() {
//* Given
let client = reqwest::Client::new();
Expand Down Expand Up @@ -86,6 +87,7 @@ async fn send_valid_graphql_request_no_variables() {
}

#[tokio::test]
#[ignore = "Test server unavailable"]
async fn send_valid_graphql_request_with_variables() {
//* Given
let client = reqwest::Client::new();
Expand Down Expand Up @@ -159,6 +161,7 @@ async fn send_valid_graphql_request_with_variables() {

// https://graphql.github.io/graphql-over-http/draft/#sec-application-json.Examples.Document-parsing-failure
#[tokio::test]
#[ignore = "Test server unavailable"]
async fn send_invalid_request_document_parsing_failure() {
//* Given
let client = reqwest::Client::new();
Expand Down Expand Up @@ -186,6 +189,7 @@ async fn send_invalid_request_document_parsing_failure() {

// https://graphql.github.io/graphql-over-http/draft/#sec-application-json.Examples.Field-errors-encountered-during-execution
#[tokio::test]
#[ignore = "Test server unavailable"]
async fn send_invalid_request_field_errors_encountered_during_execution_failure() {
//* Given
let client = reqwest::Client::new();
Expand Down Expand Up @@ -226,6 +230,7 @@ async fn send_invalid_request_field_errors_encountered_during_execution_failure(

// https://graphql.github.io/graphql-over-http/draft/#sec-application-json.Examples.Operation-cannot-be-determined
#[tokio::test]
#[ignore = "Test server unavailable"]
async fn send_invalid_request_operation_cannot_be_determined_failure_null_operation_name() {
//* Given
let client = reqwest::Client::new();
Expand Down Expand Up @@ -283,6 +288,7 @@ async fn send_invalid_request_operation_cannot_be_determined_failure_null_operat

// https://graphql.github.io/graphql-over-http/draft/#sec-application-json.Examples.Operation-cannot-be-determined
#[tokio::test]
#[ignore = "Test server unavailable"]
async fn send_invalid_request_operation_cannot_be_determined_failure_invalid_operation_name() {
//* Given
let client = reqwest::Client::new();
Expand Down Expand Up @@ -342,6 +348,7 @@ async fn send_invalid_request_operation_cannot_be_determined_failure_invalid_ope

// https://graphql.github.io/graphql-over-http/draft/#sec-application-json.Examples.Variable-coercion-failure
#[tokio::test]
#[ignore = "Test server unavailable"]
async fn send_invalid_request_variable_coercion_failure() {
//* Given
let client = reqwest::Client::new();
Expand Down

0 comments on commit 92b13d0

Please sign in to comment.