diff --git a/app/server/appsmith-plugins/graphqlPlugin/pom.xml b/app/server/appsmith-plugins/graphqlPlugin/pom.xml index ff23fda2ad..4a469ef6e5 100644 --- a/app/server/appsmith-plugins/graphqlPlugin/pom.xml +++ b/app/server/appsmith-plugins/graphqlPlugin/pom.xml @@ -92,7 +92,7 @@ com.graphql-java graphql-java - 19.0 + 20.1 provided diff --git a/app/server/appsmith-plugins/graphqlPlugin/src/test/java/com/external/plugins/GraphQLPluginTest.java b/app/server/appsmith-plugins/graphqlPlugin/src/test/java/com/external/plugins/GraphQLPluginTest.java index e087200085..e81b988aac 100644 --- a/app/server/appsmith-plugins/graphqlPlugin/src/test/java/com/external/plugins/GraphQLPluginTest.java +++ b/app/server/appsmith-plugins/graphqlPlugin/src/test/java/com/external/plugins/GraphQLPluginTest.java @@ -277,9 +277,9 @@ public class GraphQLPluginTest { StepVerifier.create(resultMono) .verifyErrorSatisfies(error -> { assertTrue(error instanceof AppsmithPluginException); - String expectedMessage = "Invalid GraphQL body: Invalid Syntax : There are more tokens in the " + - "query that have not been consumed offending token '}' at line 8 column 1"; - assertTrue(expectedMessage.equals(error.getMessage())); + String expectedMessage = "Invalid GraphQL body: Invalid syntax encountered. There are extra " + + "tokens in the text that have not been consumed. Offending token '}' at line 8 column 1"; + assertEquals(expectedMessage, error.getMessage()); }); } diff --git a/app/server/appsmith-server/pom.xml b/app/server/appsmith-server/pom.xml index 708f6f22d7..e27c80dccc 100644 --- a/app/server/appsmith-server/pom.xml +++ b/app/server/appsmith-server/pom.xml @@ -51,7 +51,7 @@ com.graphql-java graphql-java - 19.0 + 20.1 org.slf4j