File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/integration-tests/src/jvmTest/kotlin/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import com.apollographql.apollo.ApolloClient
4
4
import com.apollographql.apollo.api.Upload
5
5
import com.apollographql.apollo.api.toUpload
6
6
import com.apollographql.apollo.integration.upload.SingleUploadTwiceMutation
7
+ import com.apollographql.apollo.network.okHttpClient
8
+ import com.apollographql.apollo.testing.internal.runTest
7
9
import com.apollographql.mockserver.MockServer
8
10
import com.apollographql.mockserver.awaitRequest
9
11
import com.apollographql.mockserver.enqueueString
10
- import com.apollographql.apollo.network.okHttpClient
11
- import com.apollographql.apollo.testing.internal.runTest
12
12
import okhttp3.OkHttpClient
13
13
import okhttp3.logging.HttpLoggingInterceptor
14
14
import java.io.File
@@ -53,7 +53,7 @@ class JvmFileUploadTest {
53
53
val request = mockServer.awaitRequest()
54
54
val parts = request.parts()
55
55
56
- val expectedBodyLength = 1092
56
+ val expectedBodyLength = 1100
57
57
assertEquals(expectedBodyLength, request.body.size)
58
58
assertEquals(expectedBodyLength.toString(), request.headers[" Content-Length" ])
59
59
assertEquals(4 , parts.size)
You can’t perform that action at this time.
0 commit comments