Skip to content

Commit

Permalink
Fix Gradle tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Sep 4, 2024
1 parent fbaaa74 commit 8343cc8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.apollographql.apollo.gradle.test

import com.apollographql.apollo.api.ExecutionContext
import com.apollographql.execution.ExecutableSchema
import com.apollographql.execution.parsePostGraphQLRequest
import com.apollographql.execution.parseGraphQLRequest
import okhttp3.mockwebserver.MockResponse
import okhttp3.mockwebserver.MockWebServer
import okhttp3.tls.HandshakeCertificates
Expand Down Expand Up @@ -290,7 +290,7 @@ class DownloadSchemaTests {
override fun invoke(request: Request): Response {

val graphQLRequestResult = when (request.method) {
org.http4k.core.Method.POST -> request.body.stream.source().buffer().use { it.parsePostGraphQLRequest() }
org.http4k.core.Method.POST -> request.body.stream.source().buffer().use { it.parseGraphQLRequest() }
else -> error("")
}

Expand Down

0 comments on commit 8343cc8

Please sign in to comment.