@@ -2,6 +2,7 @@ package test
2
2
3
3
import com.apollographql.apollo.ApolloClient
4
4
import com.apollographql.apollo.api.Upload
5
+ import com.apollographql.apollo.api.apolloApiVersion
5
6
import com.apollographql.apollo.integration.normalizer.HeroNameQuery
6
7
import com.apollographql.apollo.integration.upload.SingleUploadMutation
7
8
import com.apollographql.mockserver.MockServer
@@ -142,8 +143,8 @@ class LoggingInterceptorTest {
142
143
Post http://0.0.0.0/
143
144
accept: multipart/mixed;deferspec=20220824, application/graphql-response+json, application/json
144
145
[end of headers]
145
- {"operationName":"HeroName","variables":{},"query":"query HeroName { hero { name } }","extensions":{"clientlibrary":{"name":"apollo-kotlin","version":"5.0.0-snapshot "}}}
146
-
146
+ {"operationName":"HeroName","variables":{},"query":"query HeroName { hero { name } }","extensions":{"clientlibrary":{"name":"apollo-kotlin","version":"$apolloApiVersion "}}}
147
+
147
148
HTTP: 200
148
149
Content-Type: text/plain
149
150
Content-Length: 322
@@ -183,7 +184,7 @@ class LoggingInterceptorTest {
183
184
Post http://0.0.0.0/
184
185
accept: multipart/mixed;deferspec=20220824, application/graphql-response+json, application/json
185
186
[end of headers]
186
- {"operationName":"HeroName","variables":{},"query":"query HeroName { hero { name } }","extensions":{"clientlibrary":{"name":"apollo-kotlin","version":"5.0.0-snapshot "}}}
187
+ {"operationName":"HeroName","variables":{},"query":"query HeroName { hero { name } }","extensions":{"clientlibrary":{"name":"apollo-kotlin","version":"$apolloApiVersion "}}}
187
188
188
189
HTTP: 200
189
190
Content-Type: text/plain
0 commit comments