Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(thegraph-graphql-http): disable tests due to unavailable test dependency #462

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading