diff --git a/servers/graphql-kotlin-ktor-server/src/test/kotlin/com/expediagroup/graphql/server/ktor/GraphQLPluginTest.kt b/servers/graphql-kotlin-ktor-server/src/test/kotlin/com/expediagroup/graphql/server/ktor/GraphQLPluginTest.kt index 5efaa8b6bd..8d8cd592b1 100644 --- a/servers/graphql-kotlin-ktor-server/src/test/kotlin/com/expediagroup/graphql/server/ktor/GraphQLPluginTest.kt +++ b/servers/graphql-kotlin-ktor-server/src/test/kotlin/com/expediagroup/graphql/server/ktor/GraphQLPluginTest.kt @@ -137,7 +137,7 @@ class GraphQLPluginTest { @Test fun `server should return Method Not Allowed for Mutation GET requests with persisted query`() { - testApplication { + testModule { val response = client.get("/graphql") { parameter("query", "mutation { foo }") }